diff options
author | Chien Tung <chien.tin.tung@intel.com> | 2010-05-25 17:13:09 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-05-25 18:53:06 +0200 |
commit | b17e0969dc184c66ed8934e130344621829484a3 (patch) | |
tree | 295bac6059854638bdf75db5c09a6fdd6de831bf /crypto | |
parent | RDMA/nes: Async event for closed QP causes crash (diff) | |
download | linux-b17e0969dc184c66ed8934e130344621829484a3.tar.xz linux-b17e0969dc184c66ed8934e130344621829484a3.zip |
RDMA/nes: Fix incorrect unlock in nes_process_mac_intr()
Commit ce6e74f2 ("RDMA/nes: Make nesadapter->phy_lock usage
consistent") introduced a problem where phy_lock was only unlocked
within an if statement and so nes_process_mac_intr() could return with
phy_lock still held. Fix this.
This was discovered because of the sparse warning:
drivers/infiniband/hw/nes/nes_hw.c:2643:9: warning: context imbalance in 'nes_process_mac_intr' - different lock contexts for basic block
Reported-by: Roland Dreier <rdreier@cisco.com>
Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions