From: Eli Cohen Date: Wed, 30 May 2007 10:14:31 +0000 (+0300) Subject: mlx4_core: Fix CQ context layout X-Git-Tag: v2.6.22-rc5~48^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09360d5408cb641abff0f32a172a3332f02e8e88;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed