All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2021-12-22 19:01 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2021-12-22 19:01 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5569 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2f47a9a4dfa3674fad19a49b40c5103a9a8e1589
commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu
date:   8 weeks ago
:::::: branch date: 22 hours ago
:::::: commit date: 8 weeks ago
config: sh-randconfig-s032-20211222 (https://download.01.org/0day-ci/archive/20211223/202112230229.7yum1xSY-lkp(a)intel.com/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 <lkp@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

13da9e200fe4740 Linus Torvalds 2010-05-26  70  
13da9e200fe4740 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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2022-08-20 19:06 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2022-08-20 19:06 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5736 bytes --]

:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition"
:::::: 

BCC: lkp(a)intel.com
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   50cd95ac46548429e5bba7ca75cc97d11a697947
commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu
date:   10 months ago
:::::: branch date: 22 hours ago
:::::: commit date: 10 months ago
config: sh-randconfig-s033-20220820 (https://download.01.org/0day-ci/archive/20220821/202208210244.BZSJxEpa-lkp(a)intel.com/config)
compiler: sh4-linux-gcc (GCC) 12.1.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-39-gce1a6720-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-12.1.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 where applicable
Reported-by: kernel test robot <lkp@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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2022-07-16 12:06 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2022-07-16 12:06 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5815 bytes --]

:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition"
:::::: 

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9b59ec8d50a1f28747ceff9a4f39af5deba9540e
commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu
date:   9 months ago
:::::: branch date: 18 hours ago
:::::: commit date: 9 months ago
config: sh-randconfig-s042-20220715 (https://download.01.org/0day-ci/archive/20220716/202207162051.E4Wj1qzc-lkp(a)intel.com/config)
compiler: sh4-linux-gcc (GCC) 12.1.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-39-gce1a6720-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-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sh SHELL=/bin/bash ./ arch/sh/math-emu/ drivers/pinctrl/nuvoton/ drivers/soc/imx/ drivers/thermal/ fs/xfs/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2022-04-29 11:35 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2022-04-29 11:35 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5548 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@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-lkp(a)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 <lkp@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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2022-03-28  9:32 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2022-03-28  9:32 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5527 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

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/202203281737.5oOu13qO-lkp(a)intel.com/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 <lkp@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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2022-03-25  1:53 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2022-03-25  1:53 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5536 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   52deda9551a01879b3562e7b41748e85c591f14c
commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu
date:   5 months ago
:::::: branch date: 4 hours ago
:::::: commit date: 5 months ago
config: sh-randconfig-s032-20220325 (https://download.01.org/0day-ci/archive/20220325/202203250959.jm96vEv8-lkp(a)intel.com/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 arch/sh/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2022-02-21 16:32 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2022-02-21 16:32 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5578 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   cfb92440ee71adcc2105b0890bb01ac3cddb8507
commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu
date:   4 months ago
:::::: branch date: 19 hours ago
:::::: commit date: 4 months ago
config: sh-randconfig-s031-20220221 (https://download.01.org/0day-ci/archive/20220222/202202220005.ovnEGIF2-lkp(a)intel.com/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 arch/sh/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2022-01-17 19:35 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2022-01-17 19:35 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5578 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0c947b893d69231a9add855939da7c66237ab44f
commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu
date:   3 months ago
:::::: branch date: 12 hours ago
:::::: commit date: 3 months ago
config: sh-randconfig-s031-20220117 (https://download.01.org/0day-ci/archive/20220118/202201180359.rkhBEPxJ-lkp(a)intel.com/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 arch/sh/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

* arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
@ 2021-11-17 10:17 kernel test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2021-11-17 10:17 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5640 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   8ab774587903771821b59471cc723bba6d893942
commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu
date:   3 weeks ago
:::::: branch date: 2 days ago
:::::: commit date: 3 weeks ago
config: sh-randconfig-s032-20211117 (attached as .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 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__' O=build_dir ARCH=sh SHELL=/bin/bash arch/sh/math-emu/ drivers/usb/gadget/function/ fs/proc/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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:492:5: sparse: sparse: symbol 'do_fpu_inst' was not declared. Should it be static?
   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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27070 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-08-20 19:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22 19:01 arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2022-08-20 19:06 kernel test robot
2022-07-16 12:06 kernel test robot
2022-04-29 11:35 kernel test robot
2022-03-28  9:32 kernel test robot
2022-03-25  1:53 kernel test robot
2022-02-21 16:32 kernel test robot
2022-01-17 19:35 kernel test robot
2021-11-17 10:17 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.