Skip to content

Commit

Permalink
Work around a new checkpatch.pl warning
Browse files Browse the repository at this point in the history
src/io.c:50: WARNING: Argument 'x' is not used in function-like macro
  • Loading branch information
DimitriPapadopoulos committed Jul 22, 2024
1 parent 45780f2 commit c49663d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lint/checkpatch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for file in "$@"; do
tmp=$(mktemp)

"$checkpatch_path" --no-tree --terse \
--ignore LEADING_SPACE,SPDX_LICENSE_TAG,CODE_INDENT,NAKED_SSCANF,VOLATILE,NEW_TYPEDEFS,LONG_LINE,LONG_LINE_STRING,QUOTED_WHITESPACE_BEFORE_NEWLINE,STRCPY,STRLCPY,STRNCPY \
--ignore MACRO_ARG_UNUSED,LEADING_SPACE,SPDX_LICENSE_TAG,CODE_INDENT,NAKED_SSCANF,VOLATILE,NEW_TYPEDEFS,LONG_LINE,LONG_LINE_STRING,QUOTED_WHITESPACE_BEFORE_NEWLINE,STRCPY,STRLCPY,STRNCPY \
-f "$file" | tee "$tmp"

if [ -s "$tmp" ]; then
Expand Down

0 comments on commit c49663d

Please sign in to comment.