summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBhanu Gollapudi <bprakash@broadcom.com>2011-03-18 03:13:26 +0300
committerJames Bottomley <James.Bottomley@suse.de>2011-03-23 19:36:59 +0300
commit839900c69d5b8a07a4df8e9bd9d1e59a5c556811 (patch)
tree067b746caab1ba5ee6d38c73a56df9f7bb953c9c /tools
parent70c7c88a1a65ca683eb7f3fe3ce79c72f29d845e (diff)
downloadlinux-839900c69d5b8a07a4df8e9bd9d1e59a5c556811.tar.xz
[SCSI] bnx2fc: Avoid holding cq_lock when iounmap() is called
With kernel debugging enabled, holding cq_lock when calling bnx2fc_free_session_resc() which calls iounmap() leads to a warning stack trace [INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected]. iounmap() grabs a HARDIRQ-unsafe vmlist lock, so holding spin_lock_bh(cq_lock) when calling iounmap() will trigger the LOCKDEP warning. Since cq_lock is required only to guard against deletion, hold the lock just before freeing the cq. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions