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  linux-cve-announce  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]
Message-ID: <202008061605.KjkZGRp7%lkp@intel.com>
Date:   Thu, 6 Aug 2020 16:09:18 +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/staging/comedi/drivers/pcl730.c:223:25: sparse: sparse: cast
 removes address space '__iomem' of expression

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   47ec5303d73ea344e84f46660fff693c57641386
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date:   7 weeks ago
config: riscv-randconfig-s031-20200806 (attached as .config)
compiler: riscv32-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-117-g8c7aee71-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/staging/comedi/drivers/pcl730.c:223:25: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/staging/comedi/drivers/pcl730.c:223:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/staging/comedi/drivers/pcl730.c:223:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcl730.c:223:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcl730.c:225:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcl730.c:225:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcl730.c:225:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcl730.c:225:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcl730.c:227:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcl730.c:227:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcl730.c:227:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcl730.c:227:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcl730.c:229:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcl730.c:229:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcl730.c:229:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcl730.c:229:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcl730.c:243:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/staging/comedi/drivers/pcl730.c:243:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/staging/comedi/drivers/pcl730.c:243:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcl730.c:243:15: sparse:     got void *
   drivers/staging/comedi/drivers/pcl730.c:245:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcl730.c:245:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcl730.c:245:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcl730.c:245:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcl730.c:247:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcl730.c:247:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcl730.c:247:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcl730.c:247:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcl730.c:249:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcl730.c:249:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcl730.c:249:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcl730.c:249:25: sparse:     got void *
--
>> drivers/staging/comedi/drivers/c6xdigio.c:54:26: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/staging/comedi/drivers/c6xdigio.c:54:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/staging/comedi/drivers/c6xdigio.c:54:26: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/c6xdigio.c:54:26: sparse:     got void *
   drivers/staging/comedi/drivers/c6xdigio.c:77:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/c6xdigio.c:77:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/c6xdigio.c:77:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/c6xdigio.c:77:15: sparse:     got void *
   drivers/staging/comedi/drivers/c6xdigio.c: note: in included file (through arch/riscv/include/asm/io.h, include/linux/io.h, include/linux/irq.h, ...):
   include/asm-generic/io.h:580:9: sparse: sparse: cast removes address space '__iomem' of expression
   include/asm-generic/io.h:580:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   include/asm-generic/io.h:580:9: sparse:     expected void volatile [noderef] __iomem *addr
   include/asm-generic/io.h:580:9: sparse:     got void *
--
>> drivers/staging/comedi/drivers/ni_atmio16d.c:153:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/staging/comedi/drivers/ni_atmio16d.c:153:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/staging/comedi/drivers/ni_atmio16d.c:153:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:153:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:154:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:154:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:154:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:154:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:155:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:155:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:155:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:155:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:156:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:156:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:156:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:156:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:157:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:157:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:157:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:157:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:158:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:158:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:158:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:158:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:159:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:159:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:159:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:159:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:161:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:161:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:161:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:161:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:162:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:162:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:162:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:162:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:163:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:163:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:163:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:163:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:164:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:164:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:164:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:164:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:165:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:165:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:165:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:165:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:166:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:166:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:166:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:166:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:167:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:167:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:167:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:167:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:169:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:169:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:169:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:169:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:170:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:170:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:170:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:170:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:171:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:171:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:171:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:171:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:172:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:172:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:172:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:172:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:173:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:173:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:173:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:173:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:174:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:174:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:174:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:174:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:175:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:175:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:175:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:175:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:177:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:177:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:177:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:177:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:178:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:178:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:178:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:178:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:179:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:179:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:179:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:179:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:180:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:180:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:180:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:180:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:181:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:181:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:181:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:181:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:182:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:182:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:182:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:182:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:183:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:183:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:183:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:183:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:185:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:185:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:185:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:185:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:194:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:194:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:194:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:194:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:195:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:195:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:195:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:195:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:196:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:196:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:196:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:196:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:198:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:198:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:198:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:198:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:199:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:199:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:199:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:199:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:200:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:200:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:200:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:200:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:201:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:201:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:201:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:201:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:203:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:203:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:203:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:203:17: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:204:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:204:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:204:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:204:17: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:205:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:205:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:205:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:205:17: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:206:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:206:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:206:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:206:17: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:208:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:208:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:208:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:208:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:210:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:210:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:210:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:210:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:211:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:211:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:211:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:211:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:214:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:214:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:214:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:214:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:217:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:217:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:217:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:217:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:218:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:218:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:218:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:218:9: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:227:15: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/staging/comedi/drivers/ni_atmio16d.c:227:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/staging/comedi/drivers/ni_atmio16d.c:227:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:227:15: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:305:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:305:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:305:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:305:17: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:309:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:309:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/ni_atmio16d.c:309:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/ni_atmio16d.c:309:17: sparse:     got void *
   drivers/staging/comedi/drivers/ni_atmio16d.c:310:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/ni_atmio16d.c:310:17: sparse: sparse: too many warnings
--
>> drivers/staging/comedi/drivers/pcmmio.c:195:17: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/staging/comedi/drivers/pcmmio.c:195:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/staging/comedi/drivers/pcmmio.c:195:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:195:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:196:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:196:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:196:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:196:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:197:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:197:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:197:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:197:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:199:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:199:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:199:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:199:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:200:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:200:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:200:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:200:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:201:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:201:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:201:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:201:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:202:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:202:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:202:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:202:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:218:23: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/staging/comedi/drivers/pcmmio.c:218:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
>> drivers/staging/comedi/drivers/pcmmio.c:218:23: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:218:23: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:219:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:219:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:219:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:219:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:220:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:220:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:220:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:220:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:222:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:222:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:222:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:222:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:223:23: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:223:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:223:23: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:223:23: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:224:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:224:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:224:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:224:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:225:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:225:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:225:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:225:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:367:20: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:367:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:367:20: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:367:20: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:524:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:524:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:524:18: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:524:18: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:571:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:571:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:571:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:571:9: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:577:15: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:577:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:577:15: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:577:15: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:578:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:578:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:578:16: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:578:16: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:581:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:581:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:581:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:581:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:587:23: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:587:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:587:23: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:587:23: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:588:24: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:588:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:588:24: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:588:24: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:607:18: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:607:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:607:18: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:607:18: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:638:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:638:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:638:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:638:9: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:639:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:639:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:639:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:639:9: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:640:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:640:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:640:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:640:9: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:650:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:650:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:650:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:650:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:651:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:651:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:651:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:651:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:652:17: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:652:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:652:17: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:652:17: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:691:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:691:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:691:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:691:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:693:25: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:693:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:693:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:693:25: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:712:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:712:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:712:9: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/staging/comedi/drivers/pcmmio.c:712:9: sparse:     got void *
   drivers/staging/comedi/drivers/pcmmio.c:714:9: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/staging/comedi/drivers/pcmmio.c:714:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void * @@
   drivers/staging/comedi/drivers/pcmmio.c:714:9: sparse:     expected void volatile [noderef] __iomem *addr

vim +/__iomem +223 drivers/staging/comedi/drivers/pcl730.c

a32b885ebe456d H Hartley Sweeten 2013-06-05  211  
d015d96103afd9 H Hartley Sweeten 2013-06-05  212  static int pcl730_do_insn_bits(struct comedi_device *dev,
d015d96103afd9 H Hartley Sweeten 2013-06-05  213  			       struct comedi_subdevice *s,
d015d96103afd9 H Hartley Sweeten 2013-06-05  214  			       struct comedi_insn *insn,
d015d96103afd9 H Hartley Sweeten 2013-06-05  215  			       unsigned int *data)
96a2d5f0a1e8ef José Luis Sánchez 2009-02-19  216  {
d015d96103afd9 H Hartley Sweeten 2013-06-05  217  	unsigned long reg = (unsigned long)s->private;
b3ff824a81e897 H Hartley Sweeten 2013-08-30  218  	unsigned int mask;
d015d96103afd9 H Hartley Sweeten 2013-06-05  219  
b3ff824a81e897 H Hartley Sweeten 2013-08-30  220  	mask = comedi_dio_update_state(s, data);
d015d96103afd9 H Hartley Sweeten 2013-06-05  221  	if (mask) {
d015d96103afd9 H Hartley Sweeten 2013-06-05  222  		if (mask & 0x00ff)
d015d96103afd9 H Hartley Sweeten 2013-06-05 @223  			outb(s->state & 0xff, dev->iobase + reg);
9382c06e2d192a Dan Carpenter     2013-11-07  224  		if ((mask & 0xff00) && (s->n_chan > 8))
d015d96103afd9 H Hartley Sweeten 2013-06-05  225  			outb((s->state >> 8) & 0xff, dev->iobase + reg + 1);
9382c06e2d192a Dan Carpenter     2013-11-07  226  		if ((mask & 0xff0000) && (s->n_chan > 16))
85a17285745cf4 H Hartley Sweeten 2013-06-06 @227  			outb((s->state >> 16) & 0xff, dev->iobase + reg + 2);
9382c06e2d192a Dan Carpenter     2013-11-07  228  		if ((mask & 0xff000000) && (s->n_chan > 24))
85a17285745cf4 H Hartley Sweeten 2013-06-06  229  			outb((s->state >> 24) & 0xff, dev->iobase + reg + 3);
96a2d5f0a1e8ef José Luis Sánchez 2009-02-19  230  	}
96a2d5f0a1e8ef José Luis Sánchez 2009-02-19  231  
96a2d5f0a1e8ef José Luis Sánchez 2009-02-19  232  	data[1] = s->state;
96a2d5f0a1e8ef José Luis Sánchez 2009-02-19  233  
a2714e3e42e746 H Hartley Sweeten 2012-06-18  234  	return insn->n;
96a2d5f0a1e8ef José Luis Sánchez 2009-02-19  235  }
96a2d5f0a1e8ef José Luis Sánchez 2009-02-19  236  
82e71174ae2a67 H Hartley Sweeten 2013-06-06  237  static unsigned int pcl730_get_bits(struct comedi_device *dev,
82e71174ae2a67 H Hartley Sweeten 2013-06-06  238  				    struct comedi_subdevice *s)
96a2d5f0a1e8ef José Luis Sánchez 2009-02-19  239  {
74f14a58b95cbc H Hartley Sweeten 2013-06-05  240  	unsigned long reg = (unsigned long)s->private;
145ff35bab0c64 H Hartley Sweeten 2013-06-06  241  	unsigned int val;
145ff35bab0c64 H Hartley Sweeten 2013-06-06  242  
145ff35bab0c64 H Hartley Sweeten 2013-06-06 @243  	val = inb(dev->iobase + reg);
145ff35bab0c64 H Hartley Sweeten 2013-06-06  244  	if (s->n_chan > 8)
145ff35bab0c64 H Hartley Sweeten 2013-06-06  245  		val |= (inb(dev->iobase + reg + 1) << 8);
82e71174ae2a67 H Hartley Sweeten 2013-06-06  246  	if (s->n_chan > 16)
82e71174ae2a67 H Hartley Sweeten 2013-06-06  247  		val |= (inb(dev->iobase + reg + 2) << 16);
82e71174ae2a67 H Hartley Sweeten 2013-06-06  248  	if (s->n_chan > 24)
82e71174ae2a67 H Hartley Sweeten 2013-06-06  249  		val |= (inb(dev->iobase + reg + 3) << 24);
82e71174ae2a67 H Hartley Sweeten 2013-06-06  250  
82e71174ae2a67 H Hartley Sweeten 2013-06-06  251  	return val;
82e71174ae2a67 H Hartley Sweeten 2013-06-06  252  }
74f14a58b95cbc H Hartley Sweeten 2013-06-05  253  

:::::: The code at line 223 was first introduced by commit
:::::: d015d96103afd9e2e7617e92a49a635dd8ee2a37 staging: comedi: pcl730: tidy up pcl730_do_insn()

:::::: TO: H Hartley Sweeten <hsweeten@...ionengravers.com>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

---
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" (29159 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ