linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/xtensa/kernel/traps.c:530:17: sparse: void extern [addressable] [noreturn] [toplevel] die( ... )
       [not found] <202111180649.S16Wb6G6-lkp@intel.com>
@ 2021-11-23  3:16 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-23  3:16 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: kbuild-all, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 2001 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ee1703cda8dc777e937dec172da55beaf1a74919
commit: 9fd5a04d8efcbf511286dd36c46fd70a645b167d exit: Remove calls of do_exit after noreturn versions of die
date:   4 weeks ago
config: xtensa-randconfig-s032-20211115 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.0
reproduce:
         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
         chmod +x ~/bin/make.cross
         # apt-get install sparse
         # sparse version: v0.6.4-dirty
         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9fd5a04d8efcbf511286dd36c46fd70a645b167d
         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
         git fetch --no-tags linus master
         git checkout 9fd5a04d8efcbf511286dd36c46fd70a645b167d
         # save the attached .config to linux build tree
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=xtensa

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <yujie.liu@intel.com>


sparse warnings: (new ones prefixed by >>)

 >> arch/xtensa/kernel/traps.c:530:17: sparse: sparse: symbol 'die' redeclared with different type (different modifiers):
 >> arch/xtensa/kernel/traps.c:530:17: sparse:    void extern [addressable] [noreturn] [toplevel] die( ... )
 >> arch/xtensa/kernel/traps.c:167:6: sparse: note: previously declared as:
 >> arch/xtensa/kernel/traps.c:167:6: sparse:    void extern [addressable] [toplevel] die( ... )

vim +530 arch/xtensa/kernel/traps.c

5a0015d62668e64 Chris Zankel      2005-06-23  529
9fd5a04d8efcbf5 Eric W. Biederman 2021-10-20 @530  void __noreturn die(const char * str, struct pt_regs * regs, long err)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34432 bytes --]

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

only message in thread, other threads:[~2021-11-23  3:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <202111180649.S16Wb6G6-lkp@intel.com>
2021-11-23  3:16 ` arch/xtensa/kernel/traps.c:530:17: sparse: void extern [addressable] [noreturn] [toplevel] die( ... ) 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).