checkpatch: correct false positives reporting instructions

This is the old commit 75b4cbe356 ("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
This commit is contained in:
Paul Fertser 2013-10-26 11:34:22 +04:00 committed by Antonio Borneo
parent c893a26a00
commit ccdc51e2de
1 changed files with 10 additions and 0 deletions

View File

@ -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
}
}