From: David Lamparter Date: Mon, 1 Feb 2021 16:33:03 +0000 (+0100) Subject: tools/checkpatch: downgrade string concat warning X-Git-Tag: base_8.0~437^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F6766%2Fhead;p=mirror%2Ffrr.git 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 --- diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl index c0624d933e..cf15d00796 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