diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-15 11:27:38 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-25 15:54:55 -0500 |
commit | 542bce1f255673816e82eaebb422ead5ad3f5a17 (patch) | |
tree | 21eaecb8f1c983046d5bb828e6ab456a1a9c9a0b /scripts/coccinelle | |
parent | b8479178901557dc323a69ee254c1c732e85e0e5 (diff) |
[SCSI] qla2xxx: locking problem in qla2x00_init_rings()
IRQs are already disabled here so we don't need to disable them again.
But more importantly, the spin_lock_irqsave() overwrites "flags" and
that breaks things when we want to re-enable the IRQs when we call
spin_unlock_irqrestore(&ha->hardware_lock, flags);
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions