linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Vincenzo Frascino <vincenzo.frascino@arm.com>
Subject: [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: Mon, 27 Nov 2023 02:16:17 +0800	[thread overview]
Message-ID: <202311270050.DXxU8Pzu-lkp@intel.com> (raw)

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


                 reply	other threads:[~2023-11-26 18:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202311270050.DXxU8Pzu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=vincenzo.frascino@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).