From acbf5146a98990850679903119d42c5dfb7cdf26 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Mon, 1 Feb 2021 17:33:03 +0100 Subject: [PATCH] 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 --- tools/checkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5