public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ib/cm: fix layout of APR message
@ 2011-12-19 19:46 Eli Cohen
  2011-12-19 19:48 ` Hefty, Sean
  2012-01-04  5:05 ` Roland Dreier
  0 siblings, 2 replies; 3+ messages in thread
From: Eli Cohen @ 2011-12-19 19:46 UTC (permalink / raw)
  To: roland-BHEL68pLQRGGvPXPguhicg, sean.hefty-ral2JQCrhuEAvxtiuMwx3w
  Cc: RDMA list

Add a missing 16 bit reserved field between ap_status and info fields.

Signed-off-by: Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
Use __be16 instead of u16 for the reserved field for consistency.

 drivers/infiniband/core/cm_msgs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/infiniband/core/cm_msgs.h b/drivers/infiniband/core/cm_msgs.h
index 7e63c08..b320aad 100644
--- a/drivers/infiniband/core/cm_msgs.h
+++ b/drivers/infiniband/core/cm_msgs.h
@@ -771,6 +771,7 @@ struct cm_apr_msg {
 
 	u8 info_length;
 	u8 ap_status;
+	__be16 rsvd;
 	u8 info[IB_CM_APR_INFO_LENGTH];
 
 	u8 private_data[IB_CM_APR_PRIVATE_DATA_SIZE];
-- 
1.7.8

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-04  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19 19:46 [PATCH v2] ib/cm: fix layout of APR message Eli Cohen
2011-12-19 19:48 ` Hefty, Sean
2012-01-04  5:05 ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox