mirror of
https://github.com/sysprog21/lkmpg.git
synced 2025-01-14 18:54:08 +08:00
CI: Skip style with Cppcheck
For callback functions, we may not expect to changes their prototypes, and this commit skips the corresponding checks.
This commit is contained in:
parent
6e3aee651a
commit
519033d2cc
|
@ -19,7 +19,7 @@ function do_cppcheck()
|
|||
# - [*.c] missingIncludeSystem: Focus on the example code, not the kernel headers.
|
||||
|
||||
local OPTS="
|
||||
--enable=warning,style,performance,information
|
||||
--enable=warning,performance,information
|
||||
--suppress=unusedFunction:hello-1.c
|
||||
--suppress=missingIncludeSystem
|
||||
--std=c89 "
|
||||
|
|
Loading…
Reference in New Issue
Block a user