[openib-general] [PATCH] OpenSM/ib_types.h: Pad ib_inform_info_record_t to be modulo 8 in size

Hal Rosenstock halr at voltaire.com
Wed Jul 19 13:05:03 PDT 2006


OpenSM/ib_types.h: Pad ib_inform_info_record_t to be modulo 8 in size so
that attribute offset is calculated properly

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: include/iba/ib_types.h
===================================================================
--- include/iba/ib_types.h	(revision 8598)
+++ include/iba/ib_types.h	(working copy)
@@ -7087,6 +7087,7 @@ typedef struct _ib_inform_info_record
 	ib_net16_t			subscriber_enum;
 	uint8_t 			reserved[6];
 	ib_inform_info_t		inform_info;
+	uint8_t				pad[4];
 }	PACK_SUFFIX ib_inform_info_record_t;
 #include <complib/cl_packoff.h>
 







More information about the general mailing list