* [broonie-misc:arm64-vdso 4/5] arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype for '__kernel_getcpu'
@ 2020-08-19 18:22 kernel test robot
2020-08-19 18:26 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2020-08-19 18:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2588 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git arm64-vdso
head: 6b510319fdb2cc4136a47319f6c5e88195b4bcf0
commit: fdf2f42836c8f11889209ddd41450f6d7d0944e3 [4/5] arm64: vdso: Add getcpu() implementation
config: arm64-randconfig-r006-20200819 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout fdf2f42836c8f11889209ddd41450f6d7d0944e3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> 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 prototype for '__kernel_clock_gettime' [-Wmissing-prototypes]
9 | int __kernel_clock_gettime(clockid_t clock,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:15:5: warning: no previous prototype for '__kernel_gettimeofday' [-Wmissing-prototypes]
15 | int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:21:5: warning: no previous prototype for '__kernel_clock_getres' [-Wmissing-prototypes]
21 | int __kernel_clock_getres(clockid_t clock_id,
| ^~~~~~~~~~~~~~~~~~~~~
>> 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,
| ^~~~~~~~~~~~~~~
# https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git/commit/?id=fdf2f42836c8f11889209ddd41450f6d7d0944e3
git remote add broonie-misc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git
git fetch --no-tags broonie-misc arm64-vdso
git checkout fdf2f42836c8f11889209ddd41450f6d7d0944e3
vim +/__kernel_getcpu +33 arch/arm64/kernel/vdso/vgetcpu.c
32
> 33 int __kernel_getcpu(unsigned int *cpu, unsigned int *node,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34743 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [broonie-misc:arm64-vdso 4/5] arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype for '__kernel_getcpu'
2020-08-19 18:22 [broonie-misc:arm64-vdso 4/5] arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype for '__kernel_getcpu' kernel test robot
@ 2020-08-19 18:26 ` Mark Brown
2020-08-20 0:27 ` Chen, Rong A
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2020-08-19 18:26 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
On Thu, Aug 20, 2020 at 02:22:28AM +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/vgettimeofday.c:9:5: warning: no previous prototype for '__kernel_clock_gettime' [-Wmissing-prototypes]
Again this looks like a false positive with the new code matching the
existing code.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [broonie-misc:arm64-vdso 4/5] arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype for '__kernel_getcpu'
2020-08-19 18:26 ` Mark Brown
@ 2020-08-20 0:27 ` Chen, Rong A
0 siblings, 0 replies; 3+ messages in thread
From: Chen, Rong A @ 2020-08-20 0:27 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]
On 8/20/2020 2:26 AM, Mark Brown wrote:
> On Thu, Aug 20, 2020 at 02:22:28AM +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/vgettimeofday.c:9:5: warning: no previous prototype for '__kernel_clock_gettime' [-Wmissing-prototypes]
> Again this looks like a false positive with the new code matching the
> existing code.
Hi Mark,
Sorry for the inconvenience, we'll take a look at what happened on this
case.
Best Regards,
Rong Chen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-20 0:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-19 18:22 [broonie-misc:arm64-vdso 4/5] arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype for '__kernel_getcpu' kernel test robot
2020-08-19 18:26 ` Mark Brown
2020-08-20 0:27 ` Chen, Rong A
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.