CC: [email protected] BCC: [email protected] CC: [email protected] TO: Randy Dunlap <[email protected]> CC: Rich Felker <[email protected]> CC: Geert Uytterhoeven <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ae085d7f9365de7da27ab5c0d16b12d51ea7fca9 commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu date: 5 months ago :::::: branch date: 8 hours ago :::::: commit date: 5 months ago config: sh-randconfig-s031-20220328 (https://download.01.org/0day-ci/archive/20220328/[email protected]/config) compiler: sh4-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=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 to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sh SHELL=/bin/bash 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/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 <[email protected]> :::::: CC: Linus Torvalds <[email protected]> -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
