From: kernel test robot <yujie.liu@intel.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: <kbuild-all@lists.01.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: arch/xtensa/kernel/traps.c:530:17: sparse: void extern [addressable] [noreturn] [toplevel] die( ... )
Date: Tue, 23 Nov 2021 11:16:08 +0800 [thread overview]
Message-ID: <0e5251ca-4414-78a7-1283-e3273ffbd452@intel.com> (raw)
In-Reply-To: <202111180649.S16Wb6G6-lkp@intel.com>
[-- 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 --]
parent reply other threads:[~2021-11-23 3:16 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <202111180649.S16Wb6G6-lkp@intel.com>]
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=0e5251ca-4414-78a7-1283-e3273ffbd452@intel.com \
--to=yujie.liu@intel.com \
--cc=ebiederm@xmission.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®