diff options
author | Vincent Mailhol <mailhol.vincent@wanadoo.fr> | 2022-04-22 18:17:25 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-07 21:16:59 +0300 |
commit | f4d40868fc4dcfd5db4999149b13fea3902c8883 (patch) | |
tree | e6735e4cacb159a70141f2ab45b621d787e2d7e6 | |
parent | a90bb65ae2168c8b36e53f82dc3cb35c6cff4f1e (diff) |
checksyscalls: ignore -Wunused-macros
The macros defined in this file are for testing only and are purposely
not used. When compiled with W=2, both gcc and clang yield some
-Wunused-macros warnings. Ignore them.
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rwxr-xr-x | scripts/checksyscalls.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index 9dbab13329fa..f33e61aca93d 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -268,4 +268,4 @@ syscall_list() { } (ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \ -$* -Wno-error -E -x c - > /dev/null +$* -Wno-error -Wno-unused-macros -E -x c - > /dev/null |