]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Fix for broken sparse warning fix
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Thu, 24 Jan 2013 18:59:34 +0000 (18:59 +0000)
committerRoland Dreier <roland@purestorage.com>
Tue, 5 Feb 2013 17:43:09 +0000 (09:43 -0800)
commita39829d3614de8206e66e56393955d618b9a993c
tree8fabd35e3e2c55039b7479aec24821e8969a07a7
parent4bcef794c53660c544eaf850f64ba85d4a61e2a9
IB/qib: Fix for broken sparse warning fix

Commit df67c7068094 ("IB/qib: Fix QP RCU sparse warning") broke QP
hash list deletion in qp_remove() badly.

This patch restores the former for loop behavior, while still fixing
the sparse warnings.

Cc: <stable@vger.kernel.org>
Reviewed-by: Gary Leshner <gary.s.leshner@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_qp.c