summaryrefslogtreecommitdiffstats
path: root/Documentation/kbuild
diff options
context:
space:
mode:
authorSam Bobroff <sam.bobroff@au1.ibm.com>2015-04-16 21:44:39 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 15:03:58 +0200
commitd7fe8065ad891a2ad38b73ff10b97d08f0fb3b0b (patch)
tree1eddfca597a479fc88586df29e399e6d96a6c85e /Documentation/kbuild
parentcheckpatch: add 'Prefer ARRAY_SIZE" test (diff)
downloadlinux-d7fe8065ad891a2ad38b73ff10b97d08f0fb3b0b.tar.xz
linux-d7fe8065ad891a2ad38b73ff10b97d08f0fb3b0b.zip
checkpatch: improve operator spacing check
Code such as: x = timercmp(&now, &end, <); Will currently trigger a checkpatch error. e.g. ERROR: spaces required around that '<' This is because the "Ignore operators passed as parameters" check looks only for a comma following the operator. Improve the check by also looking for a close parenthesis. Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Cc: 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 'Documentation/kbuild')
0 files changed, 0 insertions, 0 deletions