[PATCH 15/65] checkpatch: add an exception to the do-while wrapper advice
Jim Cromie
jim.cromie at gmail.com
Tue Oct 1 19:34:04 UTC 2024
Several new DYNDBG_CLASSMAP_* macros (added in next patch) are
multi-statement declarations, and are invoked in file-scope, not in
function scope. These cannot be wrapped by a do-while, so add an
exception for them.
Signed-off-by: Jim Cromie <jim.cromie at gmail.com>
---
scripts/checkpatch.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 4427572b2477..a10dca447e34 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5968,6 +5968,7 @@ sub process {
MODULE_PARM_DESC|
DECLARE_PER_CPU|
DEFINE_PER_CPU|
+ DYNDBG_CLASSMAP|
__typeof__\(|
union|
struct|
--
2.46.2
More information about the Intel-gfx-trybot
mailing list