summaryrefslogtreecommitdiff
path: root/include/rdma/ib_smi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rdma/ib_smi.h')
-rw-r--r--include/rdma/ib_smi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_smi.h b/include/rdma/ib_smi.h
index b439e988408e..7be0028f155c 100644
--- a/include/rdma/ib_smi.h
+++ b/include/rdma/ib_smi.h
@@ -61,7 +61,7 @@ struct ib_smp {
u8 data[IB_SMP_DATA_SIZE];
u8 initial_path[IB_SMP_MAX_PATH_HOPS];
u8 return_path[IB_SMP_MAX_PATH_HOPS];
-} __attribute__ ((packed));
+} __packed;
#define IB_SMP_DIRECTION cpu_to_be16(0x8000)