]> err.no Git - linux-2.6/commit
IB/ipath: Fix WC format drift between user and kernel space
authorRobert Walsh <robert.walsh@qlogic.com>
Thu, 15 Mar 2007 21:45:17 +0000 (14:45 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Apr 2007 03:21:01 +0000 (20:21 -0700)
commit40b90430ecac40cc9adb26b808cc12a3d569da5d
tree4c87d4b4d3c4f270a0371fdd66b02d78ac8ce306
parent6ce73b07db7aa05d4a30716d6a99c832b6d9db4a
IB/ipath: Fix WC format drift between user and kernel space

The kernel ib_wc structure now uses a QP pointer, but the user space
equivalent uses a QP number instead.  This means we can no longer use
a simple structure copy to copy stuff into user space.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_cq.c
drivers/infiniband/hw/ipath/ipath_verbs.h