Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

checkpatch: Catch strict warnings #2215

Merged
merged 1 commit into from
Oct 17, 2018

Conversation

blmaier
Copy link

@blmaier blmaier commented Oct 17, 2018

When the "--strict" or "--subjective" options are added to checkpatch's
arguments, it will return additional warnings of this format type:

file.c:123: CHECK: Alignment should match open parenthesis

The extra warnings can be enabled with:

let g:syntastic_c_checkpatch_args = "--strict"

Signed-off-by: Brandon Maier [email protected]

When the "--strict" or "--subjective" options are added to checkpatch's
arguments, it will return additional warnings of this format type:

> file.c:123: CHECK: Alignment should match open parenthesis

The extra warnings can be enabled with:

> let g:syntastic_c_checkpatch_args = "--strict"

Signed-off-by: Brandon Maier <[email protected]>
@lcd047 lcd047 merged commit c2c3313 into vim-syntastic:master Oct 17, 2018
@lcd047
Copy link
Collaborator

lcd047 commented Oct 17, 2018

Merged, thank you.

@blmaier blmaier deleted the checkpatch-strict-errors branch October 17, 2018 18:03
Slm0n87 pushed a commit to Slm0n87/syntastic that referenced this pull request Mar 7, 2019
…ict-errors

Checker c/checkpatch: handle strict warnings.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants