Content-Type: multipart/mixed; boundary="===============2336385077784885561==" MIME-Version: 1.0 From: Li Zhijian To: kbuild-all@lists.01.org Subject: Re: [PATCH 4/5] arm64: vdso: Add getcpu() implementation Date: Mon, 08 Jun 2020 15:46:57 +0800 Message-ID: In-Reply-To: <20200605163508.GJ5413@sirena.org.uk> List-Id: --===============2336385077784885561== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Mark On 6/6/20 12:35 AM, Mark Brown wrote: > On Sat, Jun 06, 2020 at 12:11:08AM +0800, kernel test robot wrote: > >>>> arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype = for '__kernel_getcpu' [-Wmissing-prototypes] >> 33 | int __kernel_getcpu(unsigned int *cpu, unsigned int *node, >> | ^~~~~~~~~~~~~~~ >> -- >>>> arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype = for '__kernel_getcpu' [-Wmissing-prototypes] >> 33 | int __kernel_getcpu(unsigned int *cpu, unsigned int *node, >> | ^~~~~~~~~~~~~~~ >> arch/arm64/kernel/vdso/vgettimeofday.c:9:5: warning: no previous prototy= pe for '__kernel_clock_gettime' [-Wmissing-prototypes] >> 9 | int __kernel_clock_gettime(clockid_t clock, >> | ^~~~~~~~~~~~~~~~~~~~~~ > I'm not seeing this here and what we're doing is in line with the > existing idiom as can be seen from the __kernel_clock_gettime() code > flagging the same thing. Possibly an old/outdated toolchain? thanks for your input. Actually, the origin mail contained 4 warnings,=C2=A0 and only one is *new*= , = as the mail mentioned that > All warnings (new ones prefixed by >>, old ones prefixed by <<): 0Day/LKP had marked the *new* ones prefixed by '>>' > >>> arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype f= or '__kernel_getcpu' [-Wmissing-prototypes] > 33 | int __kernel_getcpu(unsigned int *cpu, unsigned int *node, > | ^~~~~~~~~~~~~~~ the rest 3 warnings, indeed they are not introduced by this patch, = 0Day/LKP listed them here because they appeared near the *new* warning(s). 0Day/LKP hope the extra info/warnings could be also helpful for diagnosis. Thanks --===============2336385077784885561==--