Messages in this thread | | | Date | Mon, 20 Mar 2023 16:42:21 +0700 | From | Bagas Sanjaya <> | Subject | vgetcpu.c W=1 error (no previous prototype) |
| |
Hi,
Building x86_64_defconfig with W=1 on GCC 10.2.0 (Debian 11), I see missing prototypes error:
CC arch/x86/entry/vdso/vgetcpu.o arch/x86/entry/vdso/vgetcpu.c:13:1: error: no previous prototype for ‘__vdso_getcpu’ [-Werror=missing-prototypes] 13 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:252: arch/x86/entry/vdso/vgetcpu.o] Error 1
Thanks.
-- An old man doll... just what I always wanted! - Clara [unhandled content-type:application/pgp-signature] | |