]> err.no Git - linux-2.6/commit
IB/mthca: Fix uninitialized variable in mthca_alloc_qp()
authorJack Morgenstein <jackm@mellanox.co.il>
Wed, 22 Mar 2006 07:52:31 +0000 (09:52 +0200)
committerRoland Dreier <rolandd@cisco.com>
Fri, 24 Mar 2006 23:47:29 +0000 (15:47 -0800)
commitb3f64967fafad2d3487cdba18bc5166aec33a823
treea0beb8a5ef4e0b9a30e5f456abc887d7af0391b1
parentd4301e2c6685c87206f24f54969120b182119ab0
IB/mthca: Fix uninitialized variable in mthca_alloc_qp()

mthca_alloc_sqp() by mthca_set_qp_size() need to set qp->transport
before calling mthca_set_qp_size(), since the value is used there.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c