]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: improve return negative errno check
authorJoe Perches <joe@perches.com>
Thu, 16 Apr 2015 19:44:19 +0000 (12:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:57 +0000 (09:03 -0400)
commit22e779c34c515ffd9565b6657a96ee23de406a6b
tree5b6c1eaa617df0d50841d58ef2ee38fc3c22144d
parent3ee178a06a0cb05e42e7d9201ce8295ac8303b0b
checkpatch: improve return negative errno check

Add a few conditions to the test to find
return (ERRNO);

Make the output message a bit less cryptic too.

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