From: Roland Dreier Date: Thu, 16 Feb 2006 17:26:19 +0000 (-0800) Subject: IB/uverbs: Fix alignment of struct ib_uverbs_create_qp_resp X-Git-Tag: v2.6.17-rc1~1180^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d9781c5ce1a517a07dbf03c37323c011037fe79;p=pandora-kernel.git IB/uverbs: Fix alignment of struct ib_uverbs_create_qp_resp The size of struct ib_uverbs_create_qp_resp is not even multiple of 8 bytes. This causes problems for low-level drivers that add private data after the structure: 32-bit userspace will look in the wrong place for a response from a 64-bit kernel. Fix this by adding a reserved field. Also, bump the ABI version because this changes the size of a structure. Pointed out by Hoang-Nam Nguyen . Signed-off-by: Roland Dreier --- Reading git-diff-tree failed