linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 2562/2998] arch/csky/kernel/vdso/vgettimeofday.c:8:5: sparse: sparse: function '__vdso_clock_gettime' with external linkage has definition
@ 2023-11-26 18:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-26 18:16 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: oe-kbuild-all, Linux Memory Management List, Vincenzo Frascino

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   8c9660f6515396aba78d1168d2e17951d653ebf2
commit: 42874e4eb35bdfc54f8514685e50434098ba4f6c [2562/2998] arch: vdso: consolidate gettime prototypes
config: csky-randconfig-r131-20231126 (https://download.01.org/0day-ci/archive/20231127/202311270050.DXxU8Pzu-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231127/202311270050.DXxU8Pzu-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311270050.DXxU8Pzu-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/csky/kernel/vdso/vgettimeofday.c:8:5: sparse: sparse: function '__vdso_clock_gettime' with external linkage has definition

vim +/__vdso_clock_gettime +8 arch/csky/kernel/vdso/vgettimeofday.c

0d3b051adbb72e Guo Ren 2021-01-17   6  
c8171a86b27401 Guo Ren 2023-08-10   7  extern
0d3b051adbb72e Guo Ren 2021-01-17  @8  int __vdso_clock_gettime(clockid_t clock,
0d3b051adbb72e Guo Ren 2021-01-17   9  			 struct old_timespec32 *ts)
0d3b051adbb72e Guo Ren 2021-01-17  10  {
0d3b051adbb72e Guo Ren 2021-01-17  11  	return __cvdso_clock_gettime32(clock, ts);
0d3b051adbb72e Guo Ren 2021-01-17  12  }
0d3b051adbb72e Guo Ren 2021-01-17  13  

:::::: The code at line 8 was first introduced by commit
:::::: 0d3b051adbb72ed81956447d0d1e54d5943ee6f5 csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO

:::::: TO: Guo Ren <guoren@linux.alibaba.com>
:::::: CC: Guo Ren <guoren@linux.alibaba.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-26 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-26 18:16 [linux-next:master 2562/2998] arch/csky/kernel/vdso/vgettimeofday.c:8:5: sparse: sparse: function '__vdso_clock_gettime' with external linkage has definition kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).