[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ZBgqff1Vy5tWTGhG@debian.me>
Date: Mon, 20 Mar 2023 16:42:21 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>
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
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists