CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: linux-ker...@vger.kernel.org TO: Randy Dunlap <rdun...@infradead.org> CC: Rich Felker <dal...@libc.org> CC: Geert Uytterhoeven <geert+rene...@glider.be>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 38d741cb70b30741c0e802cbed7bd9cf4fd15fa4 commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu date: 6 months ago :::::: branch date: 11 hours ago :::::: commit date: 6 months ago config: sh-randconfig-s031-20220429 (https://download.01.org/0day-ci/archive/20220429/202204291956.5sbbx5o0-...@intel.com/config) compiler: sh4-linux-gcc (GCC) 11.3.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=b929926f01f2d14635345d22eafcf60feed1085e git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout b929926f01f2d14635345d22eafcf60feed1085e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sh SHELL=/bin/bash arch/sh/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> sparse warnings: (new ones prefixed by >>) arch/sh/math-emu/math.c: note: in included file (through include/math-emu/soft-fp.h): arch/sh/include/asm/sfp-machine.h:17:9: sparse: sparse: preprocessor token __BYTE_ORDER redefined arch/sh/math-emu/math.c: note: in included file: >> arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition arch/sh/math-emu/math.c:54:9: sparse: sparse: preprocessor token WRITE redefined arch/sh/math-emu/math.c: note: in included file: include/linux/kernel.h:38:9: sparse: this was the original definition arch/sh/math-emu/math.c:55:9: sparse: sparse: preprocessor token READ redefined include/linux/kernel.h:37:9: sparse: this was the original definition arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:129:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:129:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:129:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:129:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:145:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:145:9: sparse: sparse: asm output is not an lvalue arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (1) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (1) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (1) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (1) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:129:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:129:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:129:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:129:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:145:9: sparse: sparse: generating address of non-lvalue (11) arch/sh/math-emu/math.c:145:9: sparse: sparse: generating address of non-lvalue (11) vim +71 arch/sh/math-emu/sfp-util.h 13da9e200fe474 Linus Torvalds 2010-05-26 70 13da9e200fe474 Linus Torvalds 2010-05-26 @71 #define __BYTE_ORDER __LITTLE_ENDIAN :::::: The code at line 71 was first introduced by commit :::::: 13da9e200fe4740b02cd51e07ab454627e228920 Revert "endian: #define __BYTE_ORDER" :::::: TO: Linus Torvalds <torva...@linux-foundation.org> :::::: CC: Linus Torvalds <torva...@linux-foundation.org> -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org