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:
parent
c893a26a00
commit
ccdc51e2de
|
@ -1342,11 +1342,21 @@ NOTE: perl $^V is not modern enough to detect all possible issues.
|
||||||
EOM
|
EOM
|
||||||
}
|
}
|
||||||
if ($exit) {
|
if ($exit) {
|
||||||
|
if (!$OpenOCD) {
|
||||||
print << "EOM"
|
print << "EOM"
|
||||||
|
|
||||||
NOTE: If any of the errors are false positives, please report
|
NOTE: If any of the errors are false positives, please report
|
||||||
them to the maintainer, see CHECKPATCH in MAINTAINERS.
|
them to the maintainer, see CHECKPATCH in MAINTAINERS.
|
||||||
EOM
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue