RFC practical auto-QA de-noiser or -E_TOO_UGLY ?
Status from this message: nack.
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 1 replyNAK
Patches in v1
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | checkpatch: add __no_side_effects() hint/assertion macroinclude/ scripts/ | +54 | 0 replies | |
| 2/2 | checkpatch: cosmetic-style tweakscripts/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] practical auto-QA de-noiser or -E_TOO_UGLY ?
Can I haz (in compiler.h)
#define __no_side_effects(...) /* checkpatch hint only */
module_param_named() if submitted now, would draw several warnings from checkpatch --strict, on name, value (but not type).
CHECK: Macro argument reuse '_var' - possible side-effects?
This macro allows an author to suppress that complaint, clearly and declaratively, and strongly suggests that they used --strict, saw the complaint, and silenced it. So they know not to pass i++.
Do the possible QA/CI benefits suffice for the mild "hackish" flavor ?
Jim Cromie (2):
checkpatch: add __no_side_effects() hint/assertion macro
checkpatch: cosmetic-style tweak
include/linux/compiler.h | 12 +++++++++ scripts/checkpatch.pl | 54 ++++++++++++++++++++++++++++++++++------ 2 files changed, 59 insertions(+), 7 deletions(-)
Signature · 1 line
2.51.0