lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 12 Aug 2020 13:25:43 +0800
From:   kernel test robot <lkp@...el.com>
To:     Luc Van Oostenryck <luc.vanoostenryck@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: drivers/tty/serial/8250/serial_cs.c:148:17: sparse: sparse: cast
 removes address space '__iomem' of expression

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fb893de323e2d39f7a1f6df425703a2edbdf56ea
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date:   8 weeks ago
config: riscv-randconfig-s031-20200812 (attached as .config)
compiler: riscv64-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-168-g9554805c-dirty
        git checkout 670d0a4b10704667765f7d18f7592993d02783aa
        # 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=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/tty/serial/8250/serial_cs.c:148:17: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/tty/serial/8250/serial_cs.c:148:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/tty/serial/8250/serial_cs.c:148:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/tty/serial/8250/serial_cs.c:148:17: sparse:     got void *
   drivers/tty/serial/8250/serial_cs.c:162:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/serial_cs.c:162:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/tty/serial/8250/serial_cs.c:162:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/tty/serial/8250/serial_cs.c:162:9: sparse:     got void *
   drivers/tty/serial/8250/serial_cs.c:164:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/serial_cs.c:164:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/tty/serial/8250/serial_cs.c:164:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/tty/serial/8250/serial_cs.c:164:9: sparse:     got void *
   drivers/tty/serial/8250/serial_cs.c:166:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/serial_cs.c:166:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/tty/serial/8250/serial_cs.c:166:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/tty/serial/8250/serial_cs.c:166:9: sparse:     got void *
   drivers/tty/serial/8250/serial_cs.c:168:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/serial_cs.c:168:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/tty/serial/8250/serial_cs.c:168:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/tty/serial/8250/serial_cs.c:168:9: sparse:     got void *
   drivers/tty/serial/8250/serial_cs.c:170:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/serial_cs.c:170:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/tty/serial/8250/serial_cs.c:170:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/tty/serial/8250/serial_cs.c:170:9: sparse:     got void *
   drivers/tty/serial/8250/serial_cs.c:172:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/serial_cs.c:172:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/tty/serial/8250/serial_cs.c:172:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/tty/serial/8250/serial_cs.c:172:9: sparse:     got void *
   drivers/tty/serial/8250/serial_cs.c:174:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/tty/serial/8250/serial_cs.c:174:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/tty/serial/8250/serial_cs.c:174:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/tty/serial/8250/serial_cs.c:174:9: sparse:     got void *
--
>> drivers/video/fbdev/arcfb.c:119:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/video/fbdev/arcfb.c:119:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/video/fbdev/arcfb.c:119:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/video/fbdev/arcfb.c:119:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:120:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/video/fbdev/arcfb.c:120:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:120:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/video/fbdev/arcfb.c:120:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:122:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/video/fbdev/arcfb.c:122:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:122:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/video/fbdev/arcfb.c:122:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:128:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/video/fbdev/arcfb.c:128:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:128:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/video/fbdev/arcfb.c:128:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:134:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/video/fbdev/arcfb.c:134:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/video/fbdev/arcfb.c:134:16: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/video/fbdev/arcfb.c:134:16: sparse:     got void *
   drivers/video/fbdev/arcfb.c:142:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/video/fbdev/arcfb.c:142:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:142:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/video/fbdev/arcfb.c:142:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:143:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/video/fbdev/arcfb.c:143:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:143:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/video/fbdev/arcfb.c:143:9: sparse:     got void *
   drivers/video/fbdev/arcfb.c:145:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/video/fbdev/arcfb.c:145:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/video/fbdev/arcfb.c:145:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/video/fbdev/arcfb.c:145:9: sparse:     got void *
--
   drivers/spi/spi-lp8841-rtc.c:112:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:112:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:112:17: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:121:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:121:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:121:17: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:143:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:143:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:143:9: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:147:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:147:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:147:17: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:209:21: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *iomem @@     got void [noderef] __iomem * @@
   drivers/spi/spi-lp8841-rtc.c:209:21: sparse:     expected void *iomem
   drivers/spi/spi-lp8841-rtc.c:209:21: sparse:     got void [noderef] __iomem *
   drivers/spi/spi-lp8841-rtc.c:57:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:57:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:57:9: sparse:     got void *iomem
>> drivers/spi/spi-lp8841-rtc.c:63:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void *iomem @@
>> drivers/spi/spi-lp8841-rtc.c:63:28: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:63:28: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:57:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:57:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:57:9: sparse:     got void *iomem
>> drivers/spi/spi-lp8841-rtc.c:63:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void *iomem @@
>> drivers/spi/spi-lp8841-rtc.c:63:28: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:63:28: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse:     got void *iomem
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *iomem @@
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/spi/spi-lp8841-rtc.c:47:9: sparse:     got void *iomem
--
>> drivers/net/can/cc770/cc770_isa.c:125:16: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/can/cc770/cc770_isa.c:125:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/net/can/cc770/cc770_isa.c:125:16: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/net/can/cc770/cc770_isa.c:125:16: sparse:     got void *
   drivers/net/can/cc770/cc770_isa.c:131:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/can/cc770/cc770_isa.c:131:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/net/can/cc770/cc770_isa.c:131:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/can/cc770/cc770_isa.c:131:9: sparse:     got void *
   drivers/net/can/cc770/cc770_isa.c:142:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/net/can/cc770/cc770_isa.c:142:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/net/can/cc770/cc770_isa.c:142:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/can/cc770/cc770_isa.c:142:9: sparse:     got void *
   drivers/net/can/cc770/cc770_isa.c:143:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/net/can/cc770/cc770_isa.c:143:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/net/can/cc770/cc770_isa.c:143:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/net/can/cc770/cc770_isa.c:143:15: sparse:     got void *
   drivers/net/can/cc770/cc770_isa.c:156:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/net/can/cc770/cc770_isa.c:156:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/net/can/cc770/cc770_isa.c:156:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/can/cc770/cc770_isa.c:156:9: sparse:     got void *
   drivers/net/can/cc770/cc770_isa.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/net/can/cc770/cc770_isa.c:157:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/net/can/cc770/cc770_isa.c:157:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/can/cc770/cc770_isa.c:157:9: sparse:     got void *
--
>> drivers/pcmcia/pd6729.c:71:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/pcmcia/pd6729.c:71:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/pcmcia/pd6729.c:71:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:71:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:72:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/pcmcia/pd6729.c:72:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/pcmcia/pd6729.c:72:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:72:15: sparse:     got void *
   drivers/pcmcia/pd6729.c:88:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:88:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:88:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:88:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:89:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:89:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:89:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:89:15: sparse:     got void *
   drivers/pcmcia/pd6729.c:91:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:91:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:91:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:91:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:92:22: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:92:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:92:22: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:92:22: sparse:     got void *
   drivers/pcmcia/pd6729.c:107:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:107:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:107:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:107:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:108:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:108:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:108:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:108:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:122:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:122:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:122:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:122:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:123:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:123:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:123:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:123:15: sparse:     got void *
   drivers/pcmcia/pd6729.c:125:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:125:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:125:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:125:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:126:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:126:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:126:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:126:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:140:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:140:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:140:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:140:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:141:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:141:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:141:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:141:15: sparse:     got void *
   drivers/pcmcia/pd6729.c:143:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:143:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:143:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:143:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:144:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:144:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:144:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:144:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:159:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:159:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:159:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:159:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:161:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:161:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:161:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:161:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:165:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:165:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:165:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:165:9: sparse:     got void *
   drivers/pcmcia/pd6729.c:167:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/pcmcia/pd6729.c:167:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/pcmcia/pd6729.c:167:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/pcmcia/pd6729.c:167:9: sparse:     got void *
--
>> drivers/i2c/busses/i2c-mlxcpld.c:97:17: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/i2c/busses/i2c-mlxcpld.c:97:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/i2c/busses/i2c-mlxcpld.c:97:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:97:17: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:99:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:99:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:99:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:99:17: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:107:38: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/i2c/busses/i2c-mlxcpld.c:107:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/i2c/busses/i2c-mlxcpld.c:107:38: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:107:38: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:109:31: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:109:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:109:31: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:109:31: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:119:27: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:119:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:119:27: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:119:27: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:122:34: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:122:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:122:34: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:122:34: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:125:34: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:125:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:125:34: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:125:34: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:126:31: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:126:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:126:31: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:126:31: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:129:34: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:129:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:129:34: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:129:34: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:144:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:144:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:144:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:144:17: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:147:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:147:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:147:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:147:17: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:150:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:150:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:150:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:150:17: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:151:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:151:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:151:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:151:17: sparse:     got void *
   drivers/i2c/busses/i2c-mlxcpld.c:154:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/i2c/busses/i2c-mlxcpld.c:154:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/i2c/busses/i2c-mlxcpld.c:154:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/i2c/busses/i2c-mlxcpld.c:154:17: sparse:     got void *
--
>> drivers/power/reset/piix4-poweroff.c:35:23: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/power/reset/piix4-poweroff.c:35:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/power/reset/piix4-poweroff.c:35:23: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/power/reset/piix4-poweroff.c:35:23: sparse:     got void *
   drivers/power/reset/piix4-poweroff.c:38:17: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/power/reset/piix4-poweroff.c:38:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/power/reset/piix4-poweroff.c:38:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/power/reset/piix4-poweroff.c:38:17: sparse:     got void *
   drivers/power/reset/piix4-poweroff.c:42:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/power/reset/piix4-poweroff.c:42:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/power/reset/piix4-poweroff.c:42:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/power/reset/piix4-poweroff.c:42:9: sparse:     got void *

vim +/__iomem +148 drivers/tty/serial/8250/serial_cs.c

20f130495c07cd drivers/serial/serial_cs.c Russell King 2006-09-16  142  
7ef057fa707897 drivers/serial/serial_cs.c Russell King 2006-09-16  143  static void quirk_wakeup_oxsemi(struct pcmcia_device *link)
7ef057fa707897 drivers/serial/serial_cs.c Russell King 2006-09-16  144  {
7ef057fa707897 drivers/serial/serial_cs.c Russell King 2006-09-16  145  	struct serial_info *info = link->priv;
7ef057fa707897 drivers/serial/serial_cs.c Russell King 2006-09-16  146  
18c576f950167f drivers/serial/serial_cs.c Pavel Machek 2009-12-09  147  	if (info->c950ctrl)
7ef057fa707897 drivers/serial/serial_cs.c Russell King 2006-09-16 @148  		outb(12, info->c950ctrl + 1);
7ef057fa707897 drivers/serial/serial_cs.c Russell King 2006-09-16  149  }
7ef057fa707897 drivers/serial/serial_cs.c Russell King 2006-09-16  150  

:::::: The code at line 148 was first introduced by commit
:::::: 7ef057fa707897c19725d7e07123e57f6aea79db [SERIAL] serial_cs: Convert Oxford 950 / Possio GCC wakeup quirk

:::::: TO: Russell King <rmk@...-67.arm.linux.org.uk>
:::::: CC: Russell King <rmk+kernel@....linux.org.uk>

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

Download attachment ".config.gz" of type "application/gzip" (36685 bytes)

Powered by blists - more mailing lists