checkpatch --debug rx=1 facility
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 2 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | checkpatch: add --debug rx=1|foo option and drx_print() helperscripts/ | +34 | 0 replies | |
| 2/2 | checkpatch: 3 use-cases for --debug rx=1 optionscripts/ | +11 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] checkpatch --debug rx=1 facility
checkpatch uses a lot of s/// and s///g heuristics to cleanup code-chunks, before inspecting for problems with more heurisitics.
add a drx_print("reason") helper, for use like:
s/$patt//; -> s/$patt/drx_print("does this")/e;
s/$patt//g; -> s/$patt/drx_print("does that")/ge;(note the 'e' modifier)
To activate, pass --debug rx=1 or --debug rx="this"
Jim Cromie (2):
checkpatch: add --debug rx=1|foo option and drx_print() helper
checkpatch: 3 use-cases for --debug rx=1 option
scripts/checkpatch.pl | 48 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-)
Signature · 1 line
2.51.0