projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/mlx4: Fix unaligned access in send_reply_to_slave
[linux-2.6-block.git]
/
drivers
/
infiniband
/
hw
/
mlx4
/
mcg.c
diff --git
a/drivers/infiniband/hw/mlx4/mcg.c
b/drivers/infiniband/hw/mlx4/mcg.c
index ebdca2b280ab20e9d6492de07adec3de41aa007d..8f7ad07915b07e27ed7f512eabc07757269332c8 100644
(file)
--- a/
drivers/infiniband/hw/mlx4/mcg.c
+++ b/
drivers/infiniband/hw/mlx4/mcg.c
@@
-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;