Skip to content

Commit 2c87e4a

Browse files
committed
scripts: Update cppcheck invocation
constParameter is now constParameterCallback, but nothing changed about the reason to apply it. Signed-off-by: Jan Kiszka <[email protected]>
1 parent 662dcb1 commit 2c87e4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/cppcheck.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ suppress+=" --suppress=nullPointerRedundantCheck:kernel-stub/main.c"
4444
suppress+=" --suppress=unusedStructMember:kernel-stub/main.c"
4545
suppress+=" --suppress=unusedStructMember:kernel-stub/fdt.c"
4646
# Not applicable because of API requirements
47-
suppress+=" --suppress=constParameter:drivers/watchdog/ipc4x7e_wdt.c"
48-
suppress+=" --suppress=constParameter:drivers/watchdog/w83627hf_wdt.c"
49-
suppress+=" --suppress=constParameter:kernel-stub/initrd.c"
47+
suppress+=" --suppress=constParameterCallback:drivers/watchdog/ipc4x7e_wdt.c"
48+
suppress+=" --suppress=constParameterCallback:drivers/watchdog/w83627hf_wdt.c"
49+
suppress+=" --suppress=constParameterCallback:kernel-stub/initrd.c"
5050

5151
enable="--enable=warning \
5252
--enable=style \

0 commit comments

Comments
 (0)