Skip to content

checkpatch: More --fix insert/delete lines for BRACES

Joe Perches lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4checkpatch: Add fix_insert_line and fix_delete_line helpersscripts/checkpatch.pl+29 -360 replies
2/4checkpatch: Use the correct indentation for which()scripts/checkpatch.pl+6 -60 replies
3/4checkpatch: Add --fix option for a couple OPEN_BRACE misusesscripts/checkpatch.pl+28 -50 replies
4/4checkpatch: Fix brace style misuses of else and whilescripts/checkpatch.pl+30 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] checkpatch: More --fix insert/delete lines for BRACES

A bit of neatening and add a few patch/file corrections for misplaced braces

Joe Perches (4):
checkpatch: Add fix_insert_line and fix_delete_line helpers
checkpatch: Use the correct indentation for which()
checkpatch: Add --fix option for a couple OPEN_BRACE misuses
checkpatch: Fix brace style misuses of else and while

 scripts/checkpatch.pl | 148 +++++++++++++++++++++++++++++++-------------------
 1 file changed, 93 insertions(+), 55 deletions(-)
Signature · 1 line
1.8.1.2.459.gbcd45b4.dirty