]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add --strict test for spaces around arithmetic
authorJoe Perches <joe@perches.com>
Fri, 13 Feb 2015 22:38:57 +0000 (14:38 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:40 +0000 (21:21 -0800)
commit5740b23a4a5f7aadf3814d4a51e3e752e4ae0fb1
treefd9ea907fadb15c1b7f87c8b2111ec6098f4f924
parentb7a92b140147c6a417d8d9940733f43aac08e66b
checkpatch: add --strict test for spaces around arithmetic

Some prefer code to have spaces around arithmetic so instead of:
        a = b*c+d;
suggest
        a = b * c + d;

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>
scripts/checkpatch.pl