lkml.org 
[lkml]   [2023]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectvgetcpu.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]
\
 
 \ /
  Last update: 2023-03-27 01:08    [W:0.021 / U:0.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site