CC: [email protected] CC: [email protected] TO: "Eric W. Biederman" <[email protected]>
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 :::::: branch date: 6 hours ago :::::: commit 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 <[email protected]> sparse warnings: (new ones prefixed by >>) arch/xtensa/kernel/traps.c:155:11: sparse: sparse: Using plain integer as NULL pointer arch/xtensa/kernel/traps.c:164:1: sparse: sparse: symbol 'exc_table' was not declared. Should it be static? arch/xtensa/kernel/traps.c:165:1: sparse: sparse: symbol 'debug_table' was not declared. Should it be static? arch/xtensa/kernel/traps.c:344:46: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void [noderef] __user *addr @@ got void * @@ arch/xtensa/kernel/traps.c:344:46: sparse: expected void [noderef] __user *addr arch/xtensa/kernel/traps.c:344:46: sparse: got void * 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/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
