[<prev] [next>] [day] [month] [year] [list]
Message-ID: <0e5251ca-4414-78a7-1283-e3273ffbd452@intel.com>
Date: Tue, 23 Nov 2021 11:16:08 +0800
From: kernel test robot <yujie.liu@...el.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
CC: <kbuild-all@...ts.01.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: arch/xtensa/kernel/traps.c:530:17: sparse: void extern [addressable]
[noreturn] [toplevel] die( ... )
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@...el.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
Download attachment ".config.gz" of type "application/gzip" (34432 bytes)
Powered by blists - more mailing lists