summaryrefslogtreecommitdiff
path: root/scripts/namespace.pl
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-04-16 12:44:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 09:03:58 -0400
commitb598b67060f14eb8c34d0cef1db4727dab56ef91 (patch)
treeeae35ba4c7ad7e538a0c273a504169f540b50b15 /scripts/namespace.pl
parent6d07d01b62b2d81500803058f736b46677ec873a (diff)
checkpatch: add 'Prefer ARRAY_SIZE" test
Add a test for sizeof(foo)/sizeof(foo[0]) that could be ARRAY_SIZE(foo). Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/namespace.pl')
0 files changed, 0 insertions, 0 deletions