All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
@ 2020-09-26 23:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-26 23:17 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Masahiro Yamada <masahiroy@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a1bffa48745afbb54cb4f873bba783b2ae8be042
commit: f566e1fbadb686e28f1c307e356114b2865ef588 kbuild: make multiple directory targets work
date:   8 months ago
:::::: branch date: 5 hours ago
:::::: commit date: 8 months ago
config: m68k-randconfig-s031-20200927 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.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.2-201-g24bdaac6-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f566e1fbadb686e28f1c307e356114b2865ef588
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout f566e1fbadb686e28f1c307e356114b2865ef588
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=m68k 

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 >>)

   drivers/mtd/spi-nor/spi-nor.c:3602:34: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:3602:34: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:3602:34: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:3602:34: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:3602:34: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:3602:34: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:3889:38: sparse: sparse: dubious: x | !y
   drivers/mtd/spi-nor/spi-nor.c:4075:27: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4075:27: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4075:27: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4075:27: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4075:27: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4075:27: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4169:29: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4169:29: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4169:29: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4169:29: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4169:29: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4169:29: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4309:13: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4309:13: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4309:13: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4309:13: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4309:13: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c:4309:13: sparse: sparse: cast to restricted __le32
   drivers/mtd/spi-nor/spi-nor.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/hwmon/nct6775.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/hwmon/tmp513.c: note: in included file (through include/linux/bitops.h, include/linux/hwmon.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/hwmon/hwmon.c: note: in included file (through include/linux/bitops.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mtd/mtdcore.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mtd/mtd_blkdevs.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mtd/chips/cfi_cmdset_0001.c:1397:15: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   drivers/mtd/chips/cfi_cmdset_0001.c:1397:15: sparse:     expected void *
   drivers/mtd/chips/cfi_cmdset_0001.c:1397:15: sparse:     got void [noderef] <asn:2> *
   drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] FeatureSupport @@     got restricted __le32 [usertype] @@
   drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse:     expected unsigned int [usertype] FeatureSupport
   drivers/mtd/chips/cfi_cmdset_0001.c:179:30: sparse:     got restricted __le32 [usertype]
   drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned short [usertype] BlkStatusRegMask @@     got restricted __le16 [usertype] @@
   drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse:     expected unsigned short [usertype] BlkStatusRegMask
   drivers/mtd/chips/cfi_cmdset_0001.c:180:32: sparse:     got restricted __le16 [usertype]
   drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned short [usertype] ProtRegAddr @@     got restricted __le16 [usertype] @@
   drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse:     expected unsigned short [usertype] ProtRegAddr
   drivers/mtd/chips/cfi_cmdset_0001.c:181:27: sparse:     got restricted __le16 [usertype]
   drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32
   drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32
   drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32
   drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32
   drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32
   drivers/mtd/chips/cfi_cmdset_0001.c:415:32: sparse: sparse: cast to restricted __le32
   drivers/mtd/chips/cfi_cmdset_0001.c:416:34: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:416:34: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:416:34: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:416:34: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:417:29: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:417:29: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:417:29: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:417:29: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:454:51: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:454:51: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:454:51: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c:454:51: sparse: sparse: cast to restricted __le16
   drivers/mtd/chips/cfi_cmdset_0001.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/pinctrl/core.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/pinctrl/pinmux.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/pinctrl/pinctrl-single.c: note: in included file (through arch/m68k/include/asm/io.h, include/linux/io.h):
   include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
   include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
   include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
   include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
   include/asm-generic/io.h:215:9: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned short volatile [usertype] @@     got restricted __le16 [usertype] @@
   include/asm-generic/io.h:215:9: sparse:     expected unsigned short volatile [usertype]
   include/asm-generic/io.h:215:9: sparse:     got restricted __le16 [usertype]
   drivers/pinctrl/pinctrl-single.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/clk.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/dma/idma64.c: note: in included file (through include/linux/bitops.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/video/fbdev/core/cfbfillrect.c:50:17: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:50:17: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:56:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:56:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:64:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:65:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:66:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:67:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:68:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:69:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:70:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:71:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:75:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:79:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:79:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:107:17: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:107:17: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:112:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:112:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:121:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:123:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:125:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:127:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:132:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:138:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:138:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:163:23: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:164:17: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:169:31: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:170:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:178:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:178:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:180:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:180:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:182:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:182:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:184:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:184:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:186:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:186:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:188:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:188:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:190:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:190:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:192:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:192:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:197:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:197:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:202:31: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:203:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:233:23: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:234:17: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:240:31: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:241:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:250:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:250:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:253:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:253:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:256:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:256:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:259:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:259:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:265:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:265:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:272:31: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:273:25: sparse: sparse: cast removes address space '<asn:2>' of expression
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/cfbfillrect.c:359:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/cfbfillrect.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned long word @@     got restricted __le32 [usertype] @@
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     expected unsigned long word
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse:     got restricted __le32 [usertype]
   drivers/video/fbdev/core/sysfillrect.c:323:32: sparse: sparse: cast to restricted __le32
   drivers/video/fbdev/core/sysfillrect.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c: note: in included file (through include/linux/bitops.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/regulator/helpers.c: note: in included file:
   drivers/regulator/internal.h:43:42: sparse: sparse: restricted suspend_state_t degrades to integer
   drivers/regulator/helpers.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/regulator/as3722-regulator.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/regulator/da9063-regulator.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/regulator/mt6323-regulator.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/regulator/bd9571mwv-regulator.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/regulator/ltc3589.c: note: in included file (through include/linux/bitops.h, include/linux/of.h, include/linux/irqdomain.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mtd/lpddr/qinfo_probe.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/dma/dw/core.c: note: in included file (through include/linux/bitops.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/gpu/drm/drm_blend.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mfd/tc3589x.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mfd/mc13xxx-core.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16
   drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16
   drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16
   drivers/misc/lis3lv02d/lis3lv02d.c:182:52: sparse: sparse: cast to restricted __le16
   drivers/misc/lis3lv02d/lis3lv02d.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/ata/libata-core.c:5094:26: sparse: sparse: cast to restricted __le16
   drivers/ata/libata-core.c:5094:26: sparse: sparse: cast to restricted __le16
   drivers/ata/libata-core.c:5094:26: sparse: sparse: cast to restricted __le16
   drivers/ata/libata-core.c:5094:26: sparse: sparse: cast to restricted __le16
   drivers/ata/libata-core.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mtd/nand/onenand/onenand_base.c:779:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const * @@     got void [noderef] <asn:2> * @@
   drivers/mtd/nand/onenand/onenand_base.c:779:9: sparse:     expected void const *
   drivers/mtd/nand/onenand/onenand_base.c:779:9: sparse:     got void [noderef] <asn:2> *
   drivers/mtd/nand/onenand/onenand_base.c:817:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const * @@     got void [noderef] <asn:2> * @@
   drivers/mtd/nand/onenand/onenand_base.c:817:9: sparse:     expected void const *
   drivers/mtd/nand/onenand/onenand_base.c:817:9: sparse:     got void [noderef] <asn:2> *
   drivers/mtd/nand/onenand/onenand_base.c:860:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void * @@     got void [noderef] <asn:2> * @@
   drivers/mtd/nand/onenand/onenand_base.c:860:9: sparse:     expected void *
   drivers/mtd/nand/onenand/onenand_base.c:860:9: sparse:     got void [noderef] <asn:2> *
   drivers/mtd/nand/onenand/onenand_base.c: note: in included file (through arch/m68k/include/asm/io.h):
   include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
   include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
   include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
   include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
   include/asm-generic/io.h:215:9: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned short volatile [usertype] @@     got restricted __le16 [usertype] @@
   include/asm-generic/io.h:215:9: sparse:     expected unsigned short volatile [usertype]
   include/asm-generic/io.h:215:9: sparse:     got restricted __le16 [usertype]
   drivers/mtd/nand/onenand/onenand_base.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/soundwire/bus.c: note: in included file (through include/linux/bitops.h, include/linux/of.h, include/linux/irqdomain.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/soundwire/stream.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/delay.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/input/misc/axp20x-pek.c:194:1: sparse: sparse: symbol 'dev_attr_startup' was not declared. Should it be static?
   drivers/input/misc/axp20x-pek.c:195:1: sparse: sparse: symbol 'dev_attr_shutdown' was not declared. Should it be static?
   drivers/input/misc/axp20x-pek.c: note: in included file (through include/linux/bitops.h, include/linux/of.h, include/linux/irqdomain.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/i3c/master/dw-i3c-master.c: note: in included file (through include/linux/bitops.h):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/media/v4l2-core/v4l2-common.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/md/bcache/bset.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mtd/nand/raw/nandsim.c:1888:41: sparse: sparse: cast from restricted __le16
   drivers/mtd/nand/raw/nandsim.c:2057:59: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned short [usertype] @@     got restricted __le16 [usertype] @@
   drivers/mtd/nand/raw/nandsim.c:2057:59: sparse:     expected unsigned short [usertype]
   drivers/mtd/nand/raw/nandsim.c:2057:59: sparse:     got restricted __le16 [usertype]
   drivers/mtd/nand/raw/nandsim.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
   drivers/mtd/nand/raw/nand_base.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/linux/list.h, ...):
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
>> arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable

vim +493 arch/m68k/include/asm/bitops.h

171d809df1896c Greg Ungerer  2011-05-17  481  
171d809df1896c Greg Ungerer  2011-05-17  482  /*
171d809df1896c Greg Ungerer  2011-05-17  483   *	ffs: find first bit set. This is defined the same way as
171d809df1896c Greg Ungerer  2011-05-17  484   *	the libc and compiler builtin ffs routines, therefore
171d809df1896c Greg Ungerer  2011-05-17  485   *	differs in spirit from the above ffz (man ffs).
171d809df1896c Greg Ungerer  2011-05-17  486   */
171d809df1896c Greg Ungerer  2011-05-17  487  static inline int ffs(int x)
171d809df1896c Greg Ungerer  2011-05-17  488  {
171d809df1896c Greg Ungerer  2011-05-17  489  	int cnt;
171d809df1896c Greg Ungerer  2011-05-17  490  
171d809df1896c Greg Ungerer  2011-05-17  491  	__asm__ ("bfffo %1{#0:#0},%0"
171d809df1896c Greg Ungerer  2011-05-17  492  		: "=d" (cnt)
171d809df1896c Greg Ungerer  2011-05-17 @493  		: "dm" (x & -x));
171d809df1896c Greg Ungerer  2011-05-17  494  	return 32 - cnt;
171d809df1896c Greg Ungerer  2011-05-17  495  }
384052e4ed2747 Mike Rapoport 2018-07-04  496  

:::::: The code at line 493 was first introduced by commit
:::::: 171d809df1896c1022f9778cd2788be6c255a7dc m68k: merge mmu and non-mmu bitops.h

:::::: TO: Greg Ungerer <gerg@uclinux.org>
:::::: CC: Greg Ungerer <gerg@uclinux.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: 22465 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-26 23:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-26 23:17 arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable 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.