Re: [PATCH 15/63] checkpatch: add an exception to the do-while wrapper advice

2025-02-25 Thread Louis Chauvet
Le 25/01/2025 à 07:45, Jim Cromie a écrit : Several new DYNDBG_CLASSMAP_* macros (added in following commits) expand to multi-statement declarations, like module_param_named does. They are invoked in file-scope, not in function scope, and cannot be wrapped by a do-while, so add an exception by

[PATCH 15/63] checkpatch: add an exception to the do-while wrapper advice

2025-01-27 Thread Jim Cromie
Several new DYNDBG_CLASSMAP_* macros (added in following commits) expand to multi-statement declarations, like module_param_named does. They are invoked in file-scope, not in function scope, and cannot be wrapped by a do-while, so add an exception by name for them. cc: Andy Whitcroft cc: Joe Perc