[linux-next:master 2562/2998] arch/csky/kernel/vdso/vgettimeofday.c:8:5: sparse: sparse: function '__vdso_clock_gettime' with external linkage has definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231127/202311270050.DXxU8Pzu-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311270050.DXxU8Pzu-lkp@xxxxxxxxx/

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@xxxxxxxxxxxxxxxxx>
:::::: CC: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux