Files
scst/usr/include
Gleb Chesnokov b038bc9398 scst: Normalize userspace indentation and line wrapping
Normalize userspace indentation, operator spacing, pointer placement,
continuation alignment and long declarations, calls and expressions.
Keep changes at existing argument/operator boundaries and retain
literal contents, operand evaluation order and preprocessor branches.
Keep conditional directives at column zero; align their continued
operands independently.

Checkpatch reports SPACING, CODE_INDENT, POINTER_LOCATION. One example:

  No space is necessary after a cast

Checkpatch reports SUSPECT_CODE_INDENT:

  suspect code indent for conditional statements (24, 40)

Checkpatch reports SPACING, PARENTHESIS_ALIGNMENT, LINE_SPACING. One
example:

  spaces preferred around that '|' (ctx:VxV)

Checkpatch reports BLOCK_COMMENT_STYLE, OPEN_BRACE. One example:

  Block comments use * on subsequent lines

Checkpatch reports INDENTED_LABEL, PARENTHESIS_ALIGNMENT. One example:

  labels should not be indented

Checkpatch reports PARENTHESIS_ALIGNMENT, SWITCH_CASE_INDENT_LEVEL. One
example:

  Alignment should match open parenthesis

Checkpatch reports LONG_LINE:

  line length of 125 exceeds 100 columns

Checkpatch reports OPEN_ENDED_LINE:

  Lines should not end with a '('
2026-10-21 22:12:26 +03:00
..