mirror of
https://github.com/sysprog21/lkmpg.git
synced 2025-01-15 03:09:05 +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.
|
# - [*.c] missingIncludeSystem: Focus on the example code, not the kernel headers.
|
||||||
|
|
||||||
local OPTS="
|
local OPTS="
|
||||||
--enable=warning,style,performance,information
|
--enable=warning,performance,information
|
||||||
--suppress=unusedFunction:hello-1.c
|
--suppress=unusedFunction:hello-1.c
|
||||||
--suppress=missingIncludeSystem
|
--suppress=missingIncludeSystem
|
||||||
--std=c89 "
|
--std=c89 "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user