Skip to content
Commit 88982fea authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

checkpatch: warn when declaring "struct spinlock foo;"



spinlock_t should always be used.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatar"Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0979ae66
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment