summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/main.c
diff options
context:
space:
mode:
authorEli Cohen2007-05-30 12:14:31 +0200
committerRoland Dreier2007-06-07 20:51:57 +0200
commit09360d5408cb641abff0f32a172a3332f02e8e88 (patch)
tree3f8b0671cf5bafa6b1f2924c63189aa9fe345ed3 /drivers/net/mlx4/main.c
parentMerge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sp... (diff)
downloadkernel-qcow2-linux-09360d5408cb641abff0f32a172a3332f02e8e88.tar.gz
kernel-qcow2-linux-09360d5408cb641abff0f32a172a3332f02e8e88.tar.xz
kernel-qcow2-linux-09360d5408cb641abff0f32a172a3332f02e8e88.zip
mlx4_core: Fix CQ context layout
The reserved6 field should be 64 bits, not just 16 bits. Without this, the structure does not match the hardware layout on 32-bit architectures: the db_rec_addr field ends up at offset 52 instead of offset 56. The bug slipped by because the alignment of __be64 members ends up putting it in the right place on x86-64. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4/main.c')
0 files changed, 0 insertions, 0 deletions