summaryrefslogtreecommitdiffstats
path: root/tools/checkpatch.pl
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-01 17:33:03 +0100
committerDavid Lamparter <equinox@diac24.net>2021-02-01 17:33:03 +0100
commitacbf5146a98990850679903119d42c5dfb7cdf26 (patch)
treee08cf0c840fbc0f9e9f5b2d573d63c2d44a1743c /tools/checkpatch.pl
parenttests: add unit test for xrefs (diff)
downloadfrr-acbf5146a98990850679903119d42c5dfb7cdf26.tar.xz
frr-acbf5146a98990850679903119d42c5dfb7cdf26.zip
tools/checkpatch: downgrade string concat warning
This is the best I can make the asm blocks in lib/xref.h look, so just mute the warning. (It shouldn't come in relevant for other code.) Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'tools/checkpatch.pl')
-rwxr-xr-xtools/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
index c0624d933..cf15d0079 100755
--- a/tools/checkpatch.pl
+++ b/tools/checkpatch.pl
@@ -5300,8 +5300,8 @@ sub process {
# uncoalesced string fragments
if ($line =~ /$String\s*"/) {
- WARN("STRING_FRAGMENTS",
- "Consecutive strings are generally better as a single string\n" . $herecurr);
+ CHK("STRING_FRAGMENTS",
+ "Consecutive strings are generally better as a single string\n" . $herecurr);
}
# check for non-standard and hex prefixed decimal printf formats