IB/ipath: Fix offset returned to ibv_resize_cq()
authorRalph Campbell <ralph.campbell@qlogic.com>
Wed, 7 Nov 2007 01:51:38 +0000 (17:51 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 20 Nov 2007 19:03:26 +0000 (11:03 -0800)
commitfb74dacb0f00dff851c78411773a5bd5d7128b81
treed16b6e0e9eb8bd95088db9841b7dfad003184883
parent2ffbb8377c7a0713baf6644e285adc27a5654582
IB/ipath: Fix offset returned to ibv_resize_cq()

The wrong offset was being returned to libipathverbs so that when
ibv_resize_cq() calls mmap(), it always fails.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_cq.c