]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/aha152x.c: remove broken usage of spin_is_locked()
authorAndi Kleen <ak@linux.intel.com>
Thu, 3 May 2012 05:44:08 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:39 +0000 (15:46 +1000)
commit2e67fea7eb66a16dbd2da056729c3fbde46e7fbf
tree9ccf34d11d4a37f45085752d28ffe265be18d98f
parentc376d88d4f3491ae090024b941b91bbaf1acea40
drivers/scsi/aha152x.c: remove broken usage of spin_is_locked()

Remove racy usage of spin_is_locked. The author seems to have been
unclear on the concept of locking.

This is debug code normally not enabled, but I caught it on a tree sweep.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/scsi/aha152x.c