]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipath: deref correct pointer when using kernel SMA
authorBryan O'Sullivan <bos@pathscale.com>
Tue, 23 May 2006 18:32:38 +0000 (11:32 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 23 May 2006 20:29:35 +0000 (13:29 -0700)
commit166c679bbd3309b214aa1546037c68777e4cb5b9
tree1a935fea2400450afe8984975eea6e22ddf57833
parent57c3f7a1518d53fff5d63ca956c6a411cf1babc9
IB/ipath: deref correct pointer when using kernel SMA

At this point, the core QP structure hasn't been initialized, so what's
in there isn't valid.  Get the same information elsewhere.

Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_qp.c