aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2022-03-23 16:05:59 -0700
committerLinus Torvalds <[email protected]>2022-03-23 19:00:34 -0700
commit481efd7bd6f28febddf189e7a970bb0bc5a53de8 (patch)
treef4e9a42e1c52e81b596cd14822f03b956aa0e588 /scripts/gdb/linux/mm.py
parent6e8f42dc9c8548c6b37566f3b8bda1873700c4a6 (diff)
checkpatch: add --fix option for some TRAILING_STATEMENTS
Single line code like: if (foo) bar; should generally be written: if (foo) bar; Add a --fix test to do so. This fix is not done when an ASSIGN_IN_IF in the same line exists. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Joe Perches <[email protected]> Cc: Dwaipayan Ray <[email protected]> Cc: Lukas Bulwahn <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions