[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202007301753.FUPc54Dd%lkp@intel.com>
Date: Thu, 30 Jul 2020 17:48:06 +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/net/hamradio/yam.c:293:9: sparse: sparse: cast removes
address space '__iomem' of expression
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 83bdc7275e6206f560d247be856bceba3e1ed8f2
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date: 6 weeks ago
config: riscv-randconfig-s031-20200730 (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-98-g4932334a-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/net/hamradio/yam.c:293:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/hamradio/yam.c:293:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
>> drivers/net/hamradio/yam.c:293:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:293:9: sparse: got void *
drivers/net/hamradio/yam.c:294:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:294:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:294:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:294:9: sparse: got void *
drivers/net/hamradio/yam.c:295:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:295:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:295:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:295:9: sparse: got void *
drivers/net/hamradio/yam.c:296:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:296:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:296:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:296:9: sparse: got void *
drivers/net/hamradio/yam.c:298:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:298:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:298:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:298:9: sparse: got void *
drivers/net/hamradio/yam.c:299:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/hamradio/yam.c:299:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
>> drivers/net/hamradio/yam.c:299:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:299:9: sparse: got void *
drivers/net/hamradio/yam.c:300:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:300:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:300:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:300:9: sparse: got void *
drivers/net/hamradio/yam.c:302:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:302:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:302:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:302:9: sparse: got void *
drivers/net/hamradio/yam.c:305:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:305:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:305:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:305:9: sparse: got void *
drivers/net/hamradio/yam.c:321:17: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:321:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:321:17: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:321:17: sparse: got void *
drivers/net/hamradio/yam.c:323:17: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:323:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:323:17: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:323:17: sparse: got void *
drivers/net/hamradio/yam.c:324:25: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:324:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:324:25: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:324:25: sparse: got void *
drivers/net/hamradio/yam.c:447:14: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:447:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:447:14: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:447:14: sparse: got void *
drivers/net/hamradio/yam.c:465:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:465:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:465:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:465:9: sparse: got void *
drivers/net/hamradio/yam.c:466:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:466:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:466:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:466:9: sparse: got void *
drivers/net/hamradio/yam.c:467:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:467:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:467:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:467:9: sparse: got void *
drivers/net/hamradio/yam.c:468:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:468:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:468:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:468:9: sparse: got void *
drivers/net/hamradio/yam.c:469:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:469:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:469:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:469:9: sparse: got void *
drivers/net/hamradio/yam.c:470:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:470:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:470:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:470:9: sparse: got void *
drivers/net/hamradio/yam.c:471:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:471:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:471:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:471:9: sparse: got void *
drivers/net/hamradio/yam.c:475:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:475:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:475:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:475:9: sparse: got void *
drivers/net/hamradio/yam.c:476:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:476:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:476:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:476:9: sparse: got void *
drivers/net/hamradio/yam.c:480:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:480:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:480:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:480:9: sparse: got void *
drivers/net/hamradio/yam.c:501:14: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:501:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:501:14: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:501:14: sparse: got void *
drivers/net/hamradio/yam.c:502:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:502:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:502:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:502:9: sparse: got void *
drivers/net/hamradio/yam.c:503:14: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:503:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:503:14: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:503:14: sparse: got void *
drivers/net/hamradio/yam.c:504:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:504:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:504:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:504:9: sparse: got void *
drivers/net/hamradio/yam.c:505:14: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:505:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:505:14: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:505:14: sparse: got void *
drivers/net/hamradio/yam.c:506:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:506:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:506:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:506:9: sparse: got void *
drivers/net/hamradio/yam.c:507:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:507:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:507:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/yam.c:507:9: sparse: got void *
drivers/net/hamradio/yam.c:510:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/yam.c:510:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/yam.c:510:9: sparse: expected void const volatile [noderef] __iomem *addr
--
>> drivers/net/hamradio/baycom_ser_fdx.c:258:20: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/hamradio/baycom_ser_fdx.c:258:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
>> drivers/net/hamradio/baycom_ser_fdx.c:258:20: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:258:20: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:262:15: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:262:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:262:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:262:15: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:269:25: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:269:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:269:25: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:269:25: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:273:25: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:273:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:273:25: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:273:25: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:282:25: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/hamradio/baycom_ser_fdx.c:282:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
>> drivers/net/hamradio/baycom_ser_fdx.c:282:25: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:282:25: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:290:33: sparse: sparse: dubious: x | !y
drivers/net/hamradio/baycom_ser_fdx.c:290:33: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:290:33: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:290:33: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:290:33: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:292:33: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:292:33: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:292:33: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:292:33: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:296:31: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:296:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:296:31: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:296:31: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:302:23: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:302:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:302:23: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:302:23: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:348:14: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:348:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:348:14: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:348:14: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:349:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:349:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:349:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:349:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:350:14: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:350:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:350:14: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:350:14: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:351:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:351:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:351:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:351:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:352:14: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:352:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:352:14: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:352:14: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:353:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:353:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:353:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:353:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:354:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:354:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:354:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:354:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:357:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:357:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:357:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:357:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:358:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:358:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:358:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:358:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:359:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:359:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:359:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:359:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:360:23: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:360:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:360:23: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:360:23: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:362:17: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:362:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:362:17: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:362:17: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:363:22: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:363:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:363:22: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:363:22: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:364:17: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:364:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:364:17: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:364:17: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:365:22: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:365:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:365:22: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:365:22: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:406:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:406:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:406:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:406:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:407:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:407:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:407:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:407:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:408:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:408:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:408:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:408:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:425:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:425:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:425:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:425:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:431:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:431:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/hamradio/baycom_ser_fdx.c:431:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/hamradio/baycom_ser_fdx.c:431:9: sparse: got void *
drivers/net/hamradio/baycom_ser_fdx.c:449:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/hamradio/baycom_ser_fdx.c:449:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
vim +/__iomem +293 drivers/net/hamradio/yam.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 286
^1da177e4c3f41 Linus Torvalds 2005-04-16 287 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 288 * reset FPGA
^1da177e4c3f41 Linus Torvalds 2005-04-16 289 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 290
^1da177e4c3f41 Linus Torvalds 2005-04-16 291 static void fpga_reset(int iobase)
^1da177e4c3f41 Linus Torvalds 2005-04-16 292 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 @293 outb(0, IER(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 294 outb(LCR_DLAB | LCR_BIT5, LCR(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 295 outb(1, DLL(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 @296 outb(0, DLM(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 297
^1da177e4c3f41 Linus Torvalds 2005-04-16 298 outb(LCR_BIT5, LCR(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 @299 inb(LSR(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 300 inb(MSR(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 301 /* turn off FPGA supply voltage */
^1da177e4c3f41 Linus Torvalds 2005-04-16 302 outb(MCR_OUT1 | MCR_OUT2, MCR(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 303 delay(100);
^1da177e4c3f41 Linus Torvalds 2005-04-16 304 /* turn on FPGA supply voltage again */
^1da177e4c3f41 Linus Torvalds 2005-04-16 305 outb(MCR_DTR | MCR_RTS | MCR_OUT1 | MCR_OUT2, MCR(iobase));
^1da177e4c3f41 Linus Torvalds 2005-04-16 306 delay(100);
^1da177e4c3f41 Linus Torvalds 2005-04-16 307 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 308
:::::: The code at line 293 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.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" (27163 bytes)
Powered by blists - more mailing lists