checkpatch: warn when declaring "struct spinlock foo;"
authorJoe Perches <joe@perches.com>
Tue, 18 Dec 2012 00:02:00 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:19 +0000 (17:15 -0800)
commit88982fea52d0115d44b77619afef576f24cdb844
treea31942d9f3ec40c520b6c963e726c705e47b7db3
parent0979ae66464bd9793c6701861bccb21f9f118a52
checkpatch: warn when declaring "struct spinlock foo;"

spinlock_t should always be used.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl