]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: exclude drivers/staging from if with unnecessary parentheses test
authorJoe Perches <joe@perches.com>
Tue, 6 Feb 2018 23:39:03 +0000 (15:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:45 +0000 (18:32 -0800)
commitf2ea5b2a9d4a3384423e415fbe86eb8281fe705f
treeb30c2286402b5e39c2203569099437a3a3c7efee
parent3fa26452f3766bdbc585aa440adc3531e57f1867
checkpatch: exclude drivers/staging from if with unnecessary parentheses test

Greg KH doesn't like this test so exclude the staging directory from the
implied --strict only test unless --strict is actually used on the
command-line.

Link: http://lkml.kernel.org/r/1515704034.9619.165.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl