-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Labels
RFCRequest For Comments: want input from the communityRequest For Comments: want input from the community
Description
Introduction
Enforce checkpatch warnings and change line length to 100 (from 80)
Problem description
Right now we do not enforce checkpatch warnings and do not fail CI on warnings. Some of the warnings expose various issues that are worth fixing, however, in most PRs, the majority of the warning are related to line length.
We used to just put the warnings in a comment but not enforce, this is not really helpful, because it does cause inconsistency in reviews and we end up delaying PR from going in when a reviewer asks to fix warning but CI actually passes without fixing them.
Not all reviewers for example would care if you have lines > 80, so this becomes inconsistent
Proposed change
- Enforce checkpatch warnings in CI, so CI will fail on warnings + errors
- Change default max line length and match what Linux has (100 instead of 80)
Proposed change (Detailed)
- change compliance check to not ignore warnings
- change checkpatch to allow 100 instead of 80 chars per line.
Dependencies
None
Concerns and Unresolved Questions
None
Alternatives
Keep it as is and miss on warnings.
gmarull, henrikbrixandersen, nashif, carlescufi, balaji-srin and 4 morejfischer-no and mbolivar-nordic
Metadata
Metadata
Assignees
Labels
RFCRequest For Comments: want input from the communityRequest For Comments: want input from the community