summaryrefslogtreecommitdiffstats
path: root/scripts/mkmakefile
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2018-08-10 22:25:55 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-14 01:58:56 +0200
commit512ddf7d7db056edfed3159ea7cb4e4a5eefddd4 (patch)
treed4ab5068f95916e5493aaaaf546219a9001fe64a /scripts/mkmakefile
parentCoccinelle: doubletest: reduce side effect false positives (diff)
downloadlinux-512ddf7d7db056edfed3159ea7cb4e4a5eefddd4.tar.xz
linux-512ddf7d7db056edfed3159ea7cb4e4a5eefddd4.zip
coccicheck: return proper error code on fail
If coccicheck fails, it should return an error code distinct from zero to signal about an internal problem. Current code instead of exiting with the tool's error code returns the error code of 'echo "coccicheck failed"' which is almost always equals to zero, thus failing the original intention of alerting about a problem. This patch fixes the code. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov <efremov@linux.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/mkmakefile')
0 files changed, 0 insertions, 0 deletions