aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2013-10-26 11:34:22 +0400
committerAntonio Borneo <borneo.antonio@gmail.com>2022-09-18 08:18:23 +0000
commitccdc51e2de9a5379e9aaa2ff15e0be3e73b265c1 (patch)
tree1ded941298d81d4588a92b7415bf7caf27fb26f8 /tools
parentc893a26a008a3a260bb40dc3f14ee7bdcc353981 (diff)
downloadriscv-openocd-ccdc51e2de9a5379e9aaa2ff15e0be3e73b265c1.zip
riscv-openocd-ccdc51e2de9a5379e9aaa2ff15e0be3e73b265c1.tar.gz
riscv-openocd-ccdc51e2de9a5379e9aaa2ff15e0be3e73b265c1.tar.bz2
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 <fercerpav@gmail.com> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/5121 Tested-by: jenkins
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/checkpatch.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 762e9ed..aa3e637 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
}
}