From ccdc51e2de9a5379e9aaa2ff15e0be3e73b265c1 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Sat, 26 Oct 2013 11:34:22 +0400 Subject: [PATCH] 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 --- tools/scripts/checkpatch.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl index 762e9ed821..aa3e63743a 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 } } -- 2.30.2