mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
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:
parent
a90bb65ae2
commit
f4d40868fc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user