tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ca0e494af5edb59002665bf12871e94b4163a257 commit: a49aa36fa7b54dbdb9274a6d146597bf05d59882 [7932/8137] iomap: constify ioreadX() iomem argument (as in generic implementation) config: alpha-randconfig-s031-20200715 (attached as .config) compiler: alpha-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-49-g707c5017-dirty git checkout a49aa36fa7b54dbdb9274a6d146597bf05d59882 # 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=alpha If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/ttm/ttm_bo_util.c:219:30: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[assigned] addr @@ got void [noderef] __iomem * @@ drivers/gpu/drm/ttm/ttm_bo_util.c:219:30: sparse: expected void *[assigned] addr drivers/gpu/drm/ttm/ttm_bo_util.c:219:30: sparse: got void [noderef] __iomem * drivers/gpu/drm/ttm/ttm_bo_util.c:221:30: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[assigned] addr @@ got void [noderef] __iomem * @@ drivers/gpu/drm/ttm/ttm_bo_util.c:221:30: sparse: expected void *[assigned] addr drivers/gpu/drm/ttm/ttm_bo_util.c:221:30: sparse: got void [noderef] __iomem * drivers/gpu/drm/ttm/ttm_bo_util.c:241:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *virtual @@ drivers/gpu/drm/ttm/ttm_bo_util.c:241:25: sparse: expected void volatile [noderef] __iomem *addr drivers/gpu/drm/ttm/ttm_bo_util.c:241:25: sparse: got void *virtual >> drivers/gpu/drm/ttm/ttm_bo_util.c:256:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/ttm/ttm_bo_util.c:256:40: sparse: expected void const [noderef] __iomem *addr drivers/gpu/drm/ttm/ttm_bo_util.c:256:40: sparse: got unsigned int [usertype] * drivers/gpu/drm/ttm/ttm_bo_util.c:256:49: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/ttm/ttm_bo_util.c:256:49: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/ttm/ttm_bo_util.c:256:49: sparse: got unsigned int [usertype] * drivers/gpu/drm/ttm/ttm_bo_util.c:275:28: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem * @@ got void *[assigned] src @@ drivers/gpu/drm/ttm/ttm_bo_util.c:275:28: sparse: expected void const volatile [noderef] __iomem * drivers/gpu/drm/ttm/ttm_bo_util.c:275:28: sparse: got void *[assigned] src drivers/gpu/drm/ttm/ttm_bo_util.c:297:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem * @@ got void *[assigned] dst @@ drivers/gpu/drm/ttm/ttm_bo_util.c:297:21: sparse: expected void volatile [noderef] __iomem * drivers/gpu/drm/ttm/ttm_bo_util.c:297:21: sparse: got void *[assigned] dst drivers/gpu/drm/ttm/ttm_bo_util.c:344:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[addressable] new_iomap @@ drivers/gpu/drm/ttm/ttm_bo_util.c:344:27: sparse: expected void volatile [noderef] __iomem *addr drivers/gpu/drm/ttm/ttm_bo_util.c:344:27: sparse: got void *[addressable] new_iomap drivers/gpu/drm/ttm/ttm_bo_util.c:516:38: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *virtual @@ got void [noderef] __iomem * @@ drivers/gpu/drm/ttm/ttm_bo_util.c:516:38: sparse: expected void *virtual drivers/gpu/drm/ttm/ttm_bo_util.c:516:38: sparse: got void [noderef] __iomem * drivers/gpu/drm/ttm/ttm_bo_util.c:519:38: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *virtual @@ got void [noderef] __iomem * @@ drivers/gpu/drm/ttm/ttm_bo_util.c:519:38: sparse: expected void *virtual drivers/gpu/drm/ttm/ttm_bo_util.c:519:38: sparse: got void [noderef] __iomem * drivers/gpu/drm/ttm/ttm_bo_util.c:608:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *virtual @@ drivers/gpu/drm/ttm/ttm_bo_util.c:608:28: sparse: expected void volatile [noderef] __iomem *addr drivers/gpu/drm/ttm/ttm_bo_util.c:608:28: sparse: got void *virtual -- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: expected void [noderef] __iomem *addr drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: got void * >> drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:110:58: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:110:58: sparse: expected void const [noderef] __iomem *addr drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:110:58: sparse: got void * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:157:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[assigned] emap @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:157:25: sparse: expected void volatile [noderef] __iomem *addr drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:157:25: sparse: got void *[assigned] emap drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:174:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *map @@ got void [noderef] __iomem * @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:174:19: sparse: expected void *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:174:19: sparse: got void [noderef] __iomem * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:225:28: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void *map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:225:28: sparse: expected void [noderef] __iomem * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:225:28: sparse: got void *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:233:28: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void *map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:233:28: sparse: expected void [noderef] __iomem * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:233:28: sparse: got void *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:240:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *map @@ got void *map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:240:21: sparse: expected void [noderef] __iomem *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:240:21: sparse: got void *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:327:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[assigned] map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:327:25: sparse: expected void volatile [noderef] __iomem *addr drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:327:25: sparse: got void *[assigned] map -- drivers/scsi/mvumi.c:81:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@ drivers/scsi/mvumi.c:81:52: sparse: expected void [noderef] __iomem * drivers/scsi/mvumi.c:81:52: sparse: got void * drivers/scsi/mvumi.c:90:39: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@ drivers/scsi/mvumi.c:90:39: sparse: expected void * drivers/scsi/mvumi.c:90:39: sparse: got void [noderef] __iomem * drivers/scsi/mvumi.c:210:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] baseaddr_l @@ got restricted __le32 [usertype] @@ drivers/scsi/mvumi.c:210:34: sparse: expected unsigned int [usertype] baseaddr_l drivers/scsi/mvumi.c:210:34: sparse: got restricted __le32 [usertype] drivers/scsi/mvumi.c:211:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] baseaddr_h @@ got restricted __le32 [usertype] @@ drivers/scsi/mvumi.c:211:34: sparse: expected unsigned int [usertype] baseaddr_h drivers/scsi/mvumi.c:211:34: sparse: got restricted __le32 [usertype] drivers/scsi/mvumi.c:213:17: sparse: sparse: invalid assignment: |= drivers/scsi/mvumi.c:213:17: sparse: left side has type unsigned int drivers/scsi/mvumi.c:213:17: sparse: right side has type restricted __le32 drivers/scsi/mvumi.c:213:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __le32 [usertype] @@ drivers/scsi/mvumi.c:213:17: sparse: expected unsigned int [usertype] size drivers/scsi/mvumi.c:213:17: sparse: got restricted __le32 [usertype] drivers/scsi/mvumi.c:242:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] baseaddr_l @@ got restricted __le32 [usertype] @@ drivers/scsi/mvumi.c:242:26: sparse: expected unsigned int [usertype] baseaddr_l drivers/scsi/mvumi.c:242:26: sparse: got restricted __le32 [usertype] drivers/scsi/mvumi.c:243:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] baseaddr_h @@ got restricted __le32 [usertype] @@ drivers/scsi/mvumi.c:243:26: sparse: expected unsigned int [usertype] baseaddr_h drivers/scsi/mvumi.c:243:26: sparse: got restricted __le32 [usertype] drivers/scsi/mvumi.c:245:9: sparse: sparse: invalid assignment: |= drivers/scsi/mvumi.c:245:9: sparse: left side has type unsigned int drivers/scsi/mvumi.c:245:9: sparse: right side has type restricted __le32 drivers/scsi/mvumi.c:245:9: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __le32 [usertype] @@ drivers/scsi/mvumi.c:245:9: sparse: expected unsigned int [usertype] size drivers/scsi/mvumi.c:245:9: sparse: got restricted __le32 [usertype] >> drivers/scsi/mvumi.c:407:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *inb_read_pointer @@ >> drivers/scsi/mvumi.c:407:40: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:407:40: sparse: got void *inb_read_pointer >> drivers/scsi/mvumi.c:429:30: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *ib_shadow @@ drivers/scsi/mvumi.c:429:30: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:429:30: sparse: got void *ib_shadow drivers/scsi/mvumi.c:458:31: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *ib_shadow @@ drivers/scsi/mvumi.c:458:31: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:458:31: sparse: got void *ib_shadow drivers/scsi/mvumi.c:459:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *inb_write_pointer @@ drivers/scsi/mvumi.c:459:48: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:459:48: sparse: got void *inb_write_pointer >> drivers/scsi/mvumi.c:496:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *outb_copy_pointer @@ drivers/scsi/mvumi.c:496:41: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:496:41: sparse: got void *outb_copy_pointer >> drivers/scsi/mvumi.c:497:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *ob_shadow @@ drivers/scsi/mvumi.c:497:48: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:497:48: sparse: got void *ob_shadow >> drivers/scsi/mvumi.c:516:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *outb_read_pointer @@ drivers/scsi/mvumi.c:516:33: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:516:33: sparse: got void *outb_read_pointer drivers/scsi/mvumi.c:517:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *outb_copy_pointer @@ drivers/scsi/mvumi.c:517:33: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:517:33: sparse: got void *outb_copy_pointer drivers/scsi/mvumi.c:578:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *outb_read_pointer @@ drivers/scsi/mvumi.c:578:42: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:578:42: sparse: got void *outb_read_pointer drivers/scsi/mvumi.c:585:26: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:585:26: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:585:26: sparse: got void *enpointa_mask_reg >> drivers/scsi/mvumi.c:586:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:586:26: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:586:26: sparse: got void *arm_to_pciea_msg1 drivers/scsi/mvumi.c:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@ drivers/scsi/mvumi.c:589:40: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:589:40: sparse: got void *pciea_to_arm_drbl_reg >> drivers/scsi/mvumi.c:1281:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@ drivers/scsi/mvumi.c:1281:28: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1281:28: sparse: got void *arm_to_pciea_drbl_reg drivers/scsi/mvumi.c:1282:28: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@ drivers/scsi/mvumi.c:1282:28: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1282:28: sparse: got void *arm_to_pciea_drbl_reg drivers/scsi/mvumi.c:1284:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *arm_to_pciea_mask_reg @@ drivers/scsi/mvumi.c:1284:48: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1284:48: sparse: got void *arm_to_pciea_mask_reg >> drivers/scsi/mvumi.c:1285:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1285:28: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1285:28: sparse: got void *enpointa_mask_reg drivers/scsi/mvumi.c:1286:28: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1286:28: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1286:28: sparse: got void *enpointa_mask_reg drivers/scsi/mvumi.c:612:26: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:612:26: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:612:26: sparse: got void *enpointa_mask_reg drivers/scsi/mvumi.c:613:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:613:28: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:613:28: sparse: got void *arm_to_pciea_msg1 drivers/scsi/mvumi.c:615:46: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@ drivers/scsi/mvumi.c:615:46: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:615:46: sparse: got void *pciea_to_arm_drbl_reg drivers/scsi/mvumi.c:624:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:624:36: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:624:36: sparse: got void *arm_to_pciea_msg1 drivers/scsi/mvumi.c:670:32: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *reset_enable @@ drivers/scsi/mvumi.c:670:32: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:670:32: sparse: got void *reset_enable drivers/scsi/mvumi.c:671:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *reset_request @@ drivers/scsi/mvumi.c:671:34: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:671:34: sparse: got void *reset_request drivers/scsi/mvumi.c:673:35: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *reset_enable @@ drivers/scsi/mvumi.c:673:35: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:673:35: sparse: got void *reset_enable drivers/scsi/mvumi.c:674:35: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *reset_request @@ drivers/scsi/mvumi.c:674:35: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:674:35: sparse: got void *reset_request >> drivers/scsi/mvumi.c:1100:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_msg0 @@ drivers/scsi/mvumi.c:1100:36: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1100:36: sparse: got void *arm_to_pciea_msg0 drivers/scsi/mvumi.c:1115:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_msg1 @@ drivers/scsi/mvumi.c:1115:52: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1115:52: sparse: got void *pciea_to_arm_msg1 drivers/scsi/mvumi.c:1116:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_msg0 @@ drivers/scsi/mvumi.c:1116:39: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1116:39: sparse: got void *pciea_to_arm_msg0 drivers/scsi/mvumi.c:1117:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@ drivers/scsi/mvumi.c:1117:47: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1117:47: sparse: got void *pciea_to_arm_drbl_reg drivers/scsi/mvumi.c:1122:45: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_msg1 @@ drivers/scsi/mvumi.c:1122:45: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1122:45: sparse: got void *pciea_to_arm_msg1 drivers/scsi/mvumi.c:1124:45: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:1124:45: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1124:45: sparse: got void *arm_to_pciea_msg1 drivers/scsi/mvumi.c:1127:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_msg0 @@ drivers/scsi/mvumi.c:1127:39: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1127:39: sparse: got void *pciea_to_arm_msg0 drivers/scsi/mvumi.c:1128:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@ drivers/scsi/mvumi.c:1128:47: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1128:47: sparse: got void *pciea_to_arm_drbl_reg drivers/scsi/mvumi.c:1168:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_msg0 @@ drivers/scsi/mvumi.c:1168:39: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1168:39: sparse: got void *pciea_to_arm_msg0 drivers/scsi/mvumi.c:1169:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@ drivers/scsi/mvumi.c:1169:47: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1169:47: sparse: got void *pciea_to_arm_drbl_reg drivers/scsi/mvumi.c:1174:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1174:36: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1174:36: sparse: got void *enpointa_mask_reg drivers/scsi/mvumi.c:1176:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1176:36: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1176:36: sparse: got void *enpointa_mask_reg drivers/scsi/mvumi.c:1177:50: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *ib_shadow @@ drivers/scsi/mvumi.c:1177:50: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1177:50: sparse: got void *ib_shadow drivers/scsi/mvumi.c:1180:45: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *inb_aval_count_basel @@ drivers/scsi/mvumi.c:1180:45: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1180:45: sparse: got void *inb_aval_count_basel drivers/scsi/mvumi.c:1182:45: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *inb_aval_count_baseh @@ drivers/scsi/mvumi.c:1182:45: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1182:45: sparse: got void *inb_aval_count_baseh drivers/scsi/mvumi.c:1188:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *ob_shadow @@ drivers/scsi/mvumi.c:1188:61: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1188:61: sparse: got void *ob_shadow drivers/scsi/mvumi.c:1190:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *outb_copy_basel @@ drivers/scsi/mvumi.c:1190:61: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1190:61: sparse: got void *outb_copy_basel drivers/scsi/mvumi.c:1192:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *outb_copy_baseh @@ drivers/scsi/mvumi.c:1192:61: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1192:61: sparse: got void *outb_copy_baseh drivers/scsi/mvumi.c:1244:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:1244:34: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1244:34: sparse: got void *arm_to_pciea_msg1 drivers/scsi/mvumi.c:1248:51: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@ drivers/scsi/mvumi.c:1248:51: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1248:51: sparse: got void *pciea_to_arm_drbl_reg drivers/scsi/mvumi.c:1256:42: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:1256:42: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1256:42: sparse: got void *arm_to_pciea_msg1 drivers/scsi/mvumi.c:1849:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] src_low_addr @@ got restricted __le32 [usertype] @@ drivers/scsi/mvumi.c:1849:35: sparse: expected unsigned int [usertype] src_low_addr drivers/scsi/mvumi.c:1849:35: sparse: got restricted __le32 [usertype] drivers/scsi/mvumi.c:1851:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] src_high_addr @@ got restricted __le32 [usertype] @@ drivers/scsi/mvumi.c:1851:36: sparse: expected unsigned int [usertype] src_high_addr drivers/scsi/mvumi.c:1851:36: sparse: got restricted __le32 [usertype] drivers/scsi/mvumi.c:1903:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *arm_to_pciea_mask_reg @@ drivers/scsi/mvumi.c:1903:48: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1903:48: sparse: got void *arm_to_pciea_mask_reg drivers/scsi/mvumi.c:1904:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1904:29: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1904:29: sparse: got void *enpointa_mask_reg drivers/scsi/mvumi.c:1906:29: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1906:29: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1906:29: sparse: got void *enpointa_mask_reg drivers/scsi/mvumi.c:1918:26: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *arm_to_pciea_mask_reg @@ drivers/scsi/mvumi.c:1918:26: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1918:26: sparse: got void *arm_to_pciea_mask_reg drivers/scsi/mvumi.c:1919:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1919:29: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1919:29: sparse: got void *enpointa_mask_reg drivers/scsi/mvumi.c:1922:29: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1922:29: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1922:29: sparse: got void *enpointa_mask_reg >> drivers/scsi/mvumi.c:1931:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *main_int_cause_reg @@ drivers/scsi/mvumi.c:1931:31: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1931:31: sparse: got void *main_int_cause_reg >> drivers/scsi/mvumi.c:1935:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *outb_isr_cause @@ drivers/scsi/mvumi.c:1935:36: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1935:36: sparse: got void *outb_isr_cause drivers/scsi/mvumi.c:1939:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *outb_isr_cause @@ drivers/scsi/mvumi.c:1939:61: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1939:61: sparse: got void *outb_isr_cause drivers/scsi/mvumi.c:1945:53: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *outb_isr_cause @@ drivers/scsi/mvumi.c:1945:53: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1945:53: sparse: got void *outb_isr_cause drivers/scsi/mvumi.c:1951:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *outb_isr_cause @@ drivers/scsi/mvumi.c:1951:36: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1951:36: sparse: got void *outb_isr_cause drivers/scsi/mvumi.c:1953:61: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *outb_isr_cause @@ drivers/scsi/mvumi.c:1953:61: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1953:61: sparse: got void *outb_isr_cause drivers/scsi/mvumi.c:1956:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@ drivers/scsi/mvumi.c:1956:43: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1956:43: sparse: got void *arm_to_pciea_drbl_reg drivers/scsi/mvumi.c:1958:51: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@ drivers/scsi/mvumi.c:1958:51: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1958:51: sparse: got void *arm_to_pciea_drbl_reg drivers/scsi/mvumi.c:1975:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@ drivers/scsi/mvumi.c:1975:37: sparse: expected void const [noderef] __iomem *addr drivers/scsi/mvumi.c:1975:37: sparse: got void *arm_to_pciea_drbl_reg drivers/scsi/mvumi.c:1977:45: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@ drivers/scsi/mvumi.c:1977:45: sparse: expected void [noderef] __iomem *addr drivers/scsi/mvumi.c:1977:45: sparse: got void *arm_to_pciea_drbl_reg -- drivers/spi/spi-lp8841-rtc.c:112:41: 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:41: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:112:41: sparse: got void *iomem drivers/spi/spi-lp8841-rtc.c:121:41: 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:41: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:121:41: sparse: got void *iomem drivers/spi/spi-lp8841-rtc.c:143:33: 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:33: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:143:33: sparse: got void *iomem drivers/spi/spi-lp8841-rtc.c:147:41: 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:41: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:147:41: 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:33: 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:33: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:57:33: 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 [noderef] __iomem *addr @@ got void *iomem @@ >> drivers/spi/spi-lp8841-rtc.c:63:28: sparse: expected void const [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:63:28: sparse: got void *iomem drivers/spi/spi-lp8841-rtc.c:47:33: 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:33: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:47:33: sparse: got void *iomem drivers/spi/spi-lp8841-rtc.c:47:33: 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:33: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:47:33: sparse: got void *iomem drivers/spi/spi-lp8841-rtc.c:57:33: 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:33: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:57:33: 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 [noderef] __iomem *addr @@ got void *iomem @@ >> drivers/spi/spi-lp8841-rtc.c:63:28: sparse: expected void const [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:63:28: sparse: got void *iomem drivers/spi/spi-lp8841-rtc.c:47:33: 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:33: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:47:33: sparse: got void *iomem drivers/spi/spi-lp8841-rtc.c:47:33: 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:33: sparse: expected void volatile [noderef] __iomem *addr drivers/spi/spi-lp8841-rtc.c:47:33: sparse: got void *iomem -- >> drivers/net/ethernet/renesas/sh_eth.c:885:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@ >> drivers/net/ethernet/renesas/sh_eth.c:885:37: sparse: expected void const [noderef] __iomem *addr drivers/net/ethernet/renesas/sh_eth.c:885:37: sparse: got void * drivers/net/ethernet/renesas/sh_eth.c:886:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@ drivers/net/ethernet/renesas/sh_eth.c:886:37: sparse: expected void const [noderef] __iomem *addr drivers/net/ethernet/renesas/sh_eth.c:886:37: sparse: got void * drivers/net/ethernet/renesas/sh_eth.c:893:37: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@ drivers/net/ethernet/renesas/sh_eth.c:893:37: sparse: expected void [noderef] __iomem *addr drivers/net/ethernet/renesas/sh_eth.c:893:37: sparse: got void * drivers/net/ethernet/renesas/sh_eth.c:894:37: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@ drivers/net/ethernet/renesas/sh_eth.c:894:37: sparse: expected void [noderef] __iomem *addr drivers/net/ethernet/renesas/sh_eth.c:894:37: sparse: got void * >> drivers/net/ethernet/renesas/sh_eth.c:1167:31: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *addr @@ drivers/net/ethernet/renesas/sh_eth.c:1167:31: sparse: expected void const [noderef] __iomem *addr drivers/net/ethernet/renesas/sh_eth.c:1167:31: sparse: got void *addr drivers/net/ethernet/renesas/sh_eth.c:1172:31: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *addr @@ drivers/net/ethernet/renesas/sh_eth.c:1172:31: sparse: expected void [noderef] __iomem *addr drivers/net/ethernet/renesas/sh_eth.c:1172:31: sparse: got void *addr drivers/net/ethernet/renesas/sh_eth.c:1195:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *addr @@ drivers/net/ethernet/renesas/sh_eth.c:1195:33: sparse: expected void const [noderef] __iomem *addr drivers/net/ethernet/renesas/sh_eth.c:1195:33: sparse: got void *addr drivers/net/ethernet/renesas/sh_eth.c:1225:43: sparse: sparse: restricted __le32 degrades to integer drivers/net/ethernet/renesas/sh_eth.c:1230:17: sparse: sparse: cast to restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1235:25: sparse: sparse: cast to restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1235:25: sparse: sparse: cast to restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1243:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] status @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:1243:32: sparse: expected unsigned int [usertype] status drivers/net/ethernet/renesas/sh_eth.c:1243:32: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:1245:40: sparse: sparse: invalid assignment: |= drivers/net/ethernet/renesas/sh_eth.c:1245:40: sparse: left side has type unsigned int drivers/net/ethernet/renesas/sh_eth.c:1245:40: sparse: right side has type restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1249:49: sparse: sparse: cast to restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1266:33: sparse: sparse: cast to restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1342:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] len @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:1342:29: sparse: expected unsigned int [usertype] len drivers/net/ethernet/renesas/sh_eth.c:1342:29: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:1343:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:1343:30: sparse: expected unsigned int [usertype] addr drivers/net/ethernet/renesas/sh_eth.c:1343:30: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:1344:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] status @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:1344:32: sparse: expected unsigned int [usertype] status drivers/net/ethernet/renesas/sh_eth.c:1344:32: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:1358:32: sparse: sparse: invalid assignment: |= drivers/net/ethernet/renesas/sh_eth.c:1358:32: sparse: left side has type unsigned int drivers/net/ethernet/renesas/sh_eth.c:1358:32: sparse: right side has type restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1366:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] status @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:1366:32: sparse: expected unsigned int [usertype] status drivers/net/ethernet/renesas/sh_eth.c:1366:32: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:1367:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] len @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:1367:29: sparse: expected unsigned int [usertype] len drivers/net/ethernet/renesas/sh_eth.c:1367:29: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:1376:24: sparse: sparse: invalid assignment: |= drivers/net/ethernet/renesas/sh_eth.c:1376:24: sparse: left side has type unsigned int drivers/net/ethernet/renesas/sh_eth.c:1376:24: sparse: right side has type restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1528:40: sparse: sparse: invalid assignment: &= drivers/net/ethernet/renesas/sh_eth.c:1528:40: sparse: left side has type unsigned int drivers/net/ethernet/renesas/sh_eth.c:1528:40: sparse: right side has type restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1585:35: sparse: sparse: restricted __le32 degrades to integer drivers/net/ethernet/renesas/sh_eth.c:1588:31: sparse: sparse: cast to restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1589:27: sparse: sparse: cast to restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1627:36: sparse: sparse: cast to restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1658:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] len @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:1658:29: sparse: expected unsigned int [usertype] len drivers/net/ethernet/renesas/sh_eth.c:1658:29: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:1674:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:1674:38: sparse: expected unsigned int [usertype] addr drivers/net/ethernet/renesas/sh_eth.c:1674:38: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:1678:40: sparse: sparse: invalid assignment: |= drivers/net/ethernet/renesas/sh_eth.c:1678:40: sparse: left side has type unsigned int drivers/net/ethernet/renesas/sh_eth.c:1678:40: sparse: right side has type restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:1681:40: sparse: sparse: invalid assignment: |= drivers/net/ethernet/renesas/sh_eth.c:1681:40: sparse: left side has type unsigned int drivers/net/ethernet/renesas/sh_eth.c:1681:40: sparse: right side has type restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:2458:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] status @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:2458:32: sparse: expected unsigned int [usertype] status drivers/net/ethernet/renesas/sh_eth.c:2458:32: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:2459:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:2459:30: sparse: expected unsigned int [usertype] addr drivers/net/ethernet/renesas/sh_eth.c:2459:30: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:2510:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:2510:22: sparse: expected unsigned int [usertype] addr drivers/net/ethernet/renesas/sh_eth.c:2510:22: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:2511:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] len @@ got restricted __le32 [usertype] @@ drivers/net/ethernet/renesas/sh_eth.c:2511:22: sparse: expected unsigned int [usertype] len drivers/net/ethernet/renesas/sh_eth.c:2511:22: sparse: got restricted __le32 [usertype] drivers/net/ethernet/renesas/sh_eth.c:2515:32: sparse: sparse: invalid assignment: |= drivers/net/ethernet/renesas/sh_eth.c:2515:32: sparse: left side has type unsigned int drivers/net/ethernet/renesas/sh_eth.c:2515:32: sparse: right side has type restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:2517:32: sparse: sparse: invalid assignment: |= drivers/net/ethernet/renesas/sh_eth.c:2517:32: sparse: left side has type unsigned int drivers/net/ethernet/renesas/sh_eth.c:2517:32: sparse: right side has type restricted __le32 drivers/net/ethernet/renesas/sh_eth.c:3042:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem * @@ drivers/net/ethernet/renesas/sh_eth.c:3042:23: sparse: expected void *addr drivers/net/ethernet/renesas/sh_eth.c:3042:23: sparse: got void [noderef] __iomem * -- >> drivers/mailbox/bcm-pdc-mailbox.c:682:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got unsigned int * @@ >> drivers/mailbox/bcm-pdc-mailbox.c:682:28: sparse: expected void const [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:682:28: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:792:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:792:42: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:792:42: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:793:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:793:42: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:793:42: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1031:32: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1031:32: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1031:32: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1033:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1033:20: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1033:20: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1034:23: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1034:23: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1034:23: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1035:23: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1035:23: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1035:23: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1039:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1039:20: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1039:20: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1041:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1041:20: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1041:20: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1044:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1044:20: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1044:20: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1046:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1046:20: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1046:20: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1049:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1049:48: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1049:48: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1051:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1051:20: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1051:20: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1058:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1058:48: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1058:48: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1062:63: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1062:63: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1062:63: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1068:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1068:48: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1068:48: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1072:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1072:48: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1072:48: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1296:23: sparse: sparse: cast removes address space '__iomem' of expression drivers/mailbox/bcm-pdc-mailbox.c:1298:16: sparse: sparse: cast removes address space '__iomem' of expression drivers/mailbox/bcm-pdc-mailbox.c:1301:16: sparse: sparse: cast removes address space '__iomem' of expression drivers/mailbox/bcm-pdc-mailbox.c:1308:27: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1308:27: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1308:27: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1313:32: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1313:32: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1313:32: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1316:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1316:20: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1316:20: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1319:23: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1319:23: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1319:23: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1320:23: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1320:23: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1320:23: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1337:32: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1337:32: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1337:32: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:1339:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got unsigned int * @@ drivers/mailbox/bcm-pdc-mailbox.c:1339:20: sparse: expected void [noderef] __iomem *addr drivers/mailbox/bcm-pdc-mailbox.c:1339:20: sparse: got unsigned int * drivers/mailbox/bcm-pdc-mailbox.c:558:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addrlow @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:558:22: sparse: expected unsigned int [usertype] addrlow drivers/mailbox/bcm-pdc-mailbox.c:558:22: sparse: got restricted __le32 [usertype] drivers/mailbox/bcm-pdc-mailbox.c:559:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addrhigh @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:559:23: sparse: expected unsigned int [usertype] addrhigh drivers/mailbox/bcm-pdc-mailbox.c:559:23: sparse: got restricted __le32 [usertype] drivers/mailbox/bcm-pdc-mailbox.c:560:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ctrl1 @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:560:20: sparse: expected unsigned int [usertype] ctrl1 drivers/mailbox/bcm-pdc-mailbox.c:560:20: sparse: got restricted __le32 [usertype] drivers/mailbox/bcm-pdc-mailbox.c:561:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ctrl2 @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:561:20: sparse: expected unsigned int [usertype] ctrl2 drivers/mailbox/bcm-pdc-mailbox.c:561:20: sparse: got restricted __le32 [usertype] drivers/mailbox/bcm-pdc-mailbox.c:558:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addrlow @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:558:22: sparse: expected unsigned int [usertype] addrlow drivers/mailbox/bcm-pdc-mailbox.c:558:22: sparse: got restricted __le32 [usertype] drivers/mailbox/bcm-pdc-mailbox.c:559:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addrhigh @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:559:23: sparse: expected unsigned int [usertype] addrhigh drivers/mailbox/bcm-pdc-mailbox.c:559:23: sparse: got restricted __le32 [usertype] drivers/mailbox/bcm-pdc-mailbox.c:560:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ctrl1 @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:560:20: sparse: expected unsigned int [usertype] ctrl1 drivers/mailbox/bcm-pdc-mailbox.c:560:20: sparse: got restricted __le32 [usertype] drivers/mailbox/bcm-pdc-mailbox.c:561:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ctrl2 @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:561:20: sparse: expected unsigned int [usertype] ctrl2 drivers/mailbox/bcm-pdc-mailbox.c:561:20: sparse: got restricted __le32 [usertype] drivers/mailbox/bcm-pdc-mailbox.c:530:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addrlow @@ got restricted __le32 [usertype] @@ drivers/mailbox/bcm-pdc-mailbox.c:530:22: sparse: expected unsigned int [usertype] addrlow drivers/mailbox/bcm-pdc-mailbox.c:530:22: sparse: got restricted __le32 [usertype] vim +256 drivers/gpu/drm/ttm/ttm_bo_util.c ba4e7d973dd09b Thomas Hellstrom 2009-06-10 246 ba4e7d973dd09b Thomas Hellstrom 2009-06-10 247 static int ttm_copy_io_page(void *dst, void *src, unsigned long page) ba4e7d973dd09b Thomas Hellstrom 2009-06-10 248 { ba4e7d973dd09b Thomas Hellstrom 2009-06-10 249 uint32_t *dstP = ba4e7d973dd09b Thomas Hellstrom 2009-06-10 250 (uint32_t *) ((unsigned long)dst + (page << PAGE_SHIFT)); ba4e7d973dd09b Thomas Hellstrom 2009-06-10 251 uint32_t *srcP = ba4e7d973dd09b Thomas Hellstrom 2009-06-10 252 (uint32_t *) ((unsigned long)src + (page << PAGE_SHIFT)); ba4e7d973dd09b Thomas Hellstrom 2009-06-10 253 ba4e7d973dd09b Thomas Hellstrom 2009-06-10 254 int i; ba4e7d973dd09b Thomas Hellstrom 2009-06-10 255 for (i = 0; i < PAGE_SIZE / sizeof(uint32_t); ++i) ba4e7d973dd09b Thomas Hellstrom 2009-06-10 @256 iowrite32(ioread32(srcP++), dstP++); ba4e7d973dd09b Thomas Hellstrom 2009-06-10 257 return 0; ba4e7d973dd09b Thomas Hellstrom 2009-06-10 258 } ba4e7d973dd09b Thomas Hellstrom 2009-06-10 259 :::::: The code at line 256 was first introduced by commit :::::: ba4e7d973dd09b66912ac4c0856add8b0703a997 drm: Add the TTM GPU memory manager subsystem. :::::: TO: Thomas Hellstrom <thellstrom@xxxxxxxxxx> :::::: CC: Dave Airlie <airlied@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip