diff options
author | Joe Perches <joe@perches.com> | 2015-04-16 12:44:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:03:58 -0400 |
commit | b598b67060f14eb8c34d0cef1db4727dab56ef91 (patch) | |
tree | eae35ba4c7ad7e538a0c273a504169f540b50b15 /kernel/delayacct.c | |
parent | 6d07d01b62b2d81500803058f736b46677ec873a (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 'kernel/delayacct.c')
0 files changed, 0 insertions, 0 deletions