aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/nsp32_debug.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2006-07-26 16:02:53 +0300
committerRoland Dreier <rolandd@cisco.com>2006-08-03 09:44:21 -0700
commitbf74c7479ef47652005a2418eeb0d867451690da (patch)
tree699942351b2ef37285578a777fb86e7b1119ad18 /drivers/scsi/nsp32_debug.c
parent3f2792ffbd88dc1cd41d226674cc428914981e98 (diff)
IB/mthca: Fix mthca_array_clear() thinko
mthca_array_clear() does not clear the slot if the used count is positive. This leads to crashes in mthca_qp_event() since that uses mthca_array_get() to check that the qp is valid. Discovered by Ali Ayoub. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/scsi/nsp32_debug.c')
0 files changed, 0 insertions, 0 deletions