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

scripts/checkpatch.pl: add WARN on sizeof(&foo)



sizeof(&foo) is frequently an error.  Warn on its use.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 84938294
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment