Files
erofs-linux/scripts
Joe Perches 481efd7bd6 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]>
2022-03-23 19:00:34 -07:00
..
2022-01-15 12:15:35 +01:00
…
…
…
…
…
…
…
…
2021-05-02 00:43:35 +09:00
…
…
2021-05-03 17:23:06 -06:00