IB/mlx4: Fix unaligned access in send_reply_to_slave
[linux-2.6-block.git] / drivers / infiniband / hw / mlx4 / mcg.c
index ebdca2b280ab20e9d6492de07adec3de41aa007d..8f7ad07915b07e27ed7f512eabc07757269332c8 100644 (file)
@@ -96,7 +96,7 @@ struct ib_sa_mcmember_data {
        u8              scope_join_state;
        u8              proxy_join;
        u8              reserved[2];
-};
+} __packed __aligned(4);
 
 struct mcast_group {
        struct ib_sa_mcmember_data rec;