From: Paul Fertser Date: Sat, 26 Oct 2013 07:34:22 +0000 (+0400) Subject: checkpatch: correct false positives reporting instructions X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ccdc51e2de9a5379e9aaa2ff15e0be3e73b265c1;p=fw%2Fopenocd checkpatch: correct false positives reporting instructions This is the old commit 75b4cbe35646 ("checkpatch: correct false positives reporting instructions") re-applied. Change-Id: I348ae549e9d2587093b0fb6652aadf34724f0aab Signed-off-by: Paul Fertser Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/5121 Tested-by: jenkins --- diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl index 762e9ed82..aa3e63743 100755 --- a/tools/scripts/checkpatch.pl +++ b/tools/scripts/checkpatch.pl @@ -1342,11 +1342,21 @@ NOTE: perl $^V is not modern enough to detect all possible issues. EOM } if ($exit) { + if (!$OpenOCD) { print << "EOM" NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. EOM + } # !$OpenOCD + # OpenOCD specific: Begin + print << "EOM" + +NOTE: If any of the errors are false positives, please report + them to the openocd-devel mailing list or prepare a patch + and send it to Gerrit for review. +EOM + # OpenOCD specific: End } }