checkpatch: Add acheck for use of sizeof without parenthesis
authorJoe Perches <joe@perches.com>
Mon, 30 Jul 2012 21:41:22 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:17 +0000 (17:25 -0700)
commit66c80b6077256898df948ac6acf547b47ddb1fcf
tree20982260f1fd1e875188b24ddd598e77544e5354
parent4a273195a551a27a9a3ebed072c8df16c853da7f
checkpatch: Add acheck for use of sizeof without parenthesis

Kernel style uses parenthesis around sizeof.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl