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>
This commit is contained in:
Vincent Mailhol 2022-04-23 00:17:25 +09:00 коммит произвёл Masahiro Yamada
Родитель a90bb65ae2
Коммит f4d40868fc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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