Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/CODE_QUALITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CPPCHECK_JOBS=8 make cppcheck # Optional: control cppcheck parallelism

**Features**:
- 8-space tabs (kernel standard)
- 80-column line limit
- 100-column line limit
- Linux brace style
- Consistent spacing and alignment

Expand All @@ -39,7 +39,7 @@ CPPCHECK_JOBS=8 make cppcheck # Optional: control cppcheck parallelism

**Checks**:
- Indentation and spacing rules
- Line length limits (80 columns preferred)
- Line length limits (100 columns)
- Function declaration style
- Comment formatting (/* */ style)
- Macro usage patterns
Expand Down Expand Up @@ -97,7 +97,7 @@ git commit --no-verify -m "message"

**Follow Linux Kernel Coding Style:**
- Use tabs (8 spaces), not spaces for indentation
- 80 column limit for code
- 100 column limit for code
- Opening brace on same line (except functions)
- Space after keywords: `if (`, `while (`, `for (`
- No space after function names: `function(arg)`
Expand Down
Loading