From 4883953301fa0c5cfcf5952693b26f5174900270 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 8 Jan 2025 10:58:42 -0800 Subject: [PATCH] ath12k-check: ignore long line comment warnings for copyrights Filter the warnings about copyright statements exceeding the max line length. Since the global tool won't associate these with a symbol name, filter on the literal "Copyright (c)" itself. Signed-off-by: Jeff Johnson --- tools/scripts/ath12k/ath12k-check | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/scripts/ath12k/ath12k-check b/tools/scripts/ath12k/ath12k-check index 44429ea..14b57d9 100755 --- a/tools/scripts/ath12k/ath12k-check +++ b/tools/scripts/ath12k/ath12k-check @@ -65,6 +65,10 @@ checkpatch_filter = [ # ATH12K_QMI_MAX_CHUNK_SIZE ('ATH12K_QMI_MAX_CHUNK_SIZE', 'LONG_LINE'), + # allow long line copyrights + # note gtags returns None so search for the literal string + ('Copyright \(c\)', 'LONG_LINE'), + # trace.h has warnings which don't make sense to fix ('TRACE_SYSTEM', 'OPEN_ENDED_LINE'),