]> 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)
commitea555cbd584bb819a6c961e1f26773578197d32f
treefd9ea907fadb15c1b7f87c8b2111ec6098f4f924
parent122c0fd9bde18aca3a0ef1699385850f52325680
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