]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit940faf98b36d3437e9d840069a15ab09ae146a59
tree20982260f1fd1e875188b24ddd598e77544e5354
parentb4ff155f6e348e2b3798c183d801d836ae17edd1
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