tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 3 weeks ago config: arm-randconfig-s032-20200706 (attached as .config) compiler: arm-linux-gnueabi-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-14-g8fce3d7a-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=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/hptiop.c:150:17: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:171:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got restricted __le32 * @@ drivers/scsi/hptiop.c:171:9: sparse: expected void volatile [noderef] __iomem *addr drivers/scsi/hptiop.c:171:9: sparse: got restricted __le32 * drivers/scsi/hptiop.c:208:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got restricted __le32 * @@ drivers/scsi/hptiop.c:208:18: sparse: expected void const volatile [noderef] __iomem *addr drivers/scsi/hptiop.c:208:18: sparse: got restricted __le32 * drivers/scsi/hptiop.c:209:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got restricted __le32 * @@ drivers/scsi/hptiop.c:209:9: sparse: expected void volatile [noderef] __iomem *addr drivers/scsi/hptiop.c:209:9: sparse: got restricted __le32 * drivers/scsi/hptiop.c:244:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] result @@ got int @@ drivers/scsi/hptiop.c:244:44: sparse: expected restricted __le32 [usertype] result drivers/scsi/hptiop.c:244:44: sparse: got int drivers/scsi/hptiop.c:289:35: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:276:32: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:277:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] cur_rptr @@ got restricted __le32 [usertype] outlist_rptr @@ drivers/scsi/hptiop.c:277:34: sparse: expected unsigned int [usertype] cur_rptr drivers/scsi/hptiop.c:277:34: sparse: got restricted __le32 [usertype] outlist_rptr drivers/scsi/hptiop.c:283:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] _tag @@ got restricted __le32 [usertype] val @@ drivers/scsi/hptiop.c:283:38: sparse: expected unsigned int [usertype] _tag drivers/scsi/hptiop.c:283:38: sparse: got restricted __le32 [usertype] val drivers/scsi/hptiop.c:288:52: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] outlist_rptr @@ got unsigned int [assigned] [usertype] cur_rptr @@ drivers/scsi/hptiop.c:288:52: sparse: expected restricted __le32 [usertype] outlist_rptr drivers/scsi/hptiop.c:288:52: sparse: got unsigned int [assigned] [usertype] cur_rptr drivers/scsi/hptiop.c:369:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got restricted __le32 * @@ drivers/scsi/hptiop.c:369:9: sparse: expected void volatile [noderef] __iomem *addr drivers/scsi/hptiop.c:369:9: sparse: got restricted __le32 * drivers/scsi/hptiop.c:370:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got restricted __le32 * @@ drivers/scsi/hptiop.c:370:9: sparse: expected void const volatile [noderef] __iomem *addr drivers/scsi/hptiop.c:370:9: sparse: got restricted __le32 * drivers/scsi/hptiop.c:453:64: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct hpt_iop_request_get_config *info @@ got struct hpt_iop_request_get_config [noderef] __iomem *config @@ drivers/scsi/hptiop.c:453:64: sparse: expected struct hpt_iop_request_get_config *info drivers/scsi/hptiop.c:453:64: sparse: got struct hpt_iop_request_get_config [noderef] __iomem *config drivers/scsi/hptiop.c:455:25: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:557:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got restricted __le32 * @@ drivers/scsi/hptiop.c:557:9: sparse: expected void volatile [noderef] __iomem *addr drivers/scsi/hptiop.c:557:9: sparse: got restricted __le32 * drivers/scsi/hptiop.c:637:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct hpt_iopmv_regs *regs @@ got void [noderef] __iomem * @@ drivers/scsi/hptiop.c:637:24: sparse: expected struct hpt_iopmv_regs *regs drivers/scsi/hptiop.c:637:24: sparse: got void [noderef] __iomem * >> drivers/scsi/hptiop.c:643:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got struct hpt_iopmv_regs *regs @@ >> drivers/scsi/hptiop.c:643:34: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/scsi/hptiop.c:643:34: sparse: got struct hpt_iopmv_regs *regs drivers/scsi/hptiop.c:667:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got struct hpt_iopmv_regs *regs @@ drivers/scsi/hptiop.c:667:26: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/scsi/hptiop.c:667:26: sparse: got struct hpt_iopmv_regs *regs drivers/scsi/hptiop.c:934:27: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:939:34: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:940:30: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:944:43: sparse: sparse: invalid assignment: &= drivers/scsi/hptiop.c:944:43: sparse: left side has type restricted __le32 drivers/scsi/hptiop.c:944:43: sparse: right side has type int drivers/scsi/hptiop.c:945:43: sparse: sparse: invalid assignment: ^= drivers/scsi/hptiop.c:945:43: sparse: left side has type restricted __le32 drivers/scsi/hptiop.c:945:43: sparse: right side has type int drivers/scsi/hptiop.c:950:57: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:950:48: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] intrfc_len @@ got unsigned int @@ drivers/scsi/hptiop.c:950:48: sparse: expected restricted __le32 [usertype] intrfc_len drivers/scsi/hptiop.c:950:48: sparse: got unsigned int drivers/scsi/hptiop.c:951:9: sparse: sparse: cast from restricted __le32 drivers/scsi/hptiop.c:976:9: sparse: sparse: cast from restricted __le32 drivers/scsi/hptiop.c:978:9: sparse: sparse: cast from restricted __le32 drivers/scsi/hptiop.c:981:9: sparse: sparse: cast from restricted __le32 drivers/scsi/hptiop.c:983:9: sparse: sparse: cast from restricted __le32 drivers/scsi/hptiop.c:986:9: sparse: sparse: cast from restricted __le32 drivers/scsi/hptiop.c:988:9: sparse: sparse: cast from restricted __le32 drivers/scsi/hptiop.c:991:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] inlist_wptr @@ got unsigned int @@ drivers/scsi/hptiop.c:991:35: sparse: expected restricted __le32 [usertype] inlist_wptr drivers/scsi/hptiop.c:991:35: sparse: got unsigned int drivers/scsi/hptiop.c:992:37: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] @@ got unsigned int @@ drivers/scsi/hptiop.c:992:37: sparse: expected restricted __le32 [usertype] drivers/scsi/hptiop.c:992:37: sparse: got unsigned int drivers/scsi/hptiop.c:993:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] outlist_rptr @@ got unsigned int @@ drivers/scsi/hptiop.c:993:36: sparse: expected restricted __le32 [usertype] outlist_rptr drivers/scsi/hptiop.c:993:36: sparse: got unsigned int drivers/scsi/hptiop.c:1536:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got restricted __le32 * @@ drivers/scsi/hptiop.c:1536:9: sparse: expected void volatile [noderef] __iomem *addr drivers/scsi/hptiop.c:1536:9: sparse: got restricted __le32 * drivers/scsi/hptiop.c:1537:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got restricted __le32 * @@ drivers/scsi/hptiop.c:1537:9: sparse: expected void const volatile [noderef] __iomem *addr drivers/scsi/hptiop.c:1537:9: sparse: got restricted __le32 * drivers/scsi/hptiop.c:150:17: sparse: sparse: dereference of noderef expression drivers/scsi/hptiop.c:150:17: sparse: sparse: dereference of noderef expression -- >> drivers/scsi/mvumi.c:81:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@ drivers/scsi/mvumi.c:81:52: sparse: expected void [noderef] __iomem *addr 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 volatile [noderef] __iomem *addr @@ got void *inb_read_pointer @@ drivers/scsi/mvumi.c:407:40: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *ib_shadow @@ drivers/scsi/mvumi.c:429:30: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *ib_shadow @@ drivers/scsi/mvumi.c:458:31: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *inb_write_pointer @@ drivers/scsi/mvumi.c:459:48: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *outb_copy_pointer @@ drivers/scsi/mvumi.c:496:41: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *ob_shadow @@ drivers/scsi/mvumi.c:497:48: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *outb_read_pointer @@ drivers/scsi/mvumi.c:516:33: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *outb_copy_pointer @@ drivers/scsi/mvumi.c:517:33: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *outb_read_pointer @@ drivers/scsi/mvumi.c:578:42: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:585:26: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:586:26: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@ drivers/scsi/mvumi.c:589:40: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@ drivers/scsi/mvumi.c:1281:28: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@ drivers/scsi/mvumi.c:1282:28: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_mask_reg @@ drivers/scsi/mvumi.c:1284:48: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1285:28: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:1286:28: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@ drivers/scsi/mvumi.c:612:26: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:613:28: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@ drivers/scsi/mvumi.c:615:46: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@ drivers/scsi/mvumi.c:624:36: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got void *reset_enable @@ drivers/scsi/mvumi.c:670:32: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *reset_request @@ drivers/scsi/mvumi.c:671:34: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void *reset_enable @@ drivers/scsi/mvumi.c:673:35: sparse: expected void volatile [noderef] __iomem *addr -- >> drivers/gpio/gpio-sa1100.c:104:21: sparse: sparse: cast removes address space '__iomem' of expression >> drivers/gpio/gpio-sa1100.c:104:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __iomem *membase @@ got void * @@ >> drivers/gpio/gpio-sa1100.c:104:21: sparse: expected void [noderef] __iomem *membase drivers/gpio/gpio-sa1100.c:104:21: sparse: got void * >> drivers/gpio/gpio-sa1100.c:115:25: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *membase @@ drivers/gpio/gpio-sa1100.c:115:25: sparse: expected void *base >> drivers/gpio/gpio-sa1100.c:115:25: sparse: got void [noderef] __iomem *membase >> drivers/gpio/gpio-sa1100.c:121:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ >> drivers/gpio/gpio-sa1100.c:121:9: sparse: expected void volatile [noderef] __iomem *addr drivers/gpio/gpio-sa1100.c:121:9: sparse: got void * drivers/gpio/gpio-sa1100.c:122:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/gpio/gpio-sa1100.c:122:9: sparse: expected void volatile [noderef] __iomem *addr drivers/gpio/gpio-sa1100.c:122:9: sparse: got void * -- drivers/uio/uio_aec.c:44:49: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __iomem *int_flag @@ got void * @@ drivers/uio/uio_aec.c:44:49: sparse: expected void [noderef] __iomem *int_flag drivers/uio/uio_aec.c:44:49: sparse: got void * drivers/uio/uio_aec.c:50:49: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:50:49: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:50:49: sparse: got void * drivers/uio/uio_aec.c:59:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:59:9: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:59:9: sparse: got void * drivers/uio/uio_aec.c:59:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:59:9: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:59:9: sparse: got void * drivers/uio/uio_aec.c:59:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:59:9: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:59:9: sparse: got void * drivers/uio/uio_aec.c:59:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:59:9: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:59:9: sparse: got void * drivers/uio/uio_aec.c:59:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:59:9: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:59:9: sparse: got void * drivers/uio/uio_aec.c:59:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:59:9: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:59:9: sparse: got void * drivers/uio/uio_aec.c:88:20: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@ drivers/uio/uio_aec.c:88:20: sparse: expected void *priv drivers/uio/uio_aec.c:88:20: sparse: got void [noderef] __iomem * drivers/uio/uio_aec.c:104:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:104:42: sparse: expected void volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:104:42: sparse: got void * drivers/uio/uio_aec.c:105:43: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:105:43: sparse: expected void volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:105:43: sparse: got void * drivers/uio/uio_aec.c:106:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:106:34: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:106:34: sparse: got void * >> drivers/uio/uio_aec.c:115:31: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void *priv @@ drivers/uio/uio_aec.c:115:31: sparse: expected void [noderef] __iomem *addr drivers/uio/uio_aec.c:115:31: sparse: got void *priv drivers/uio/uio_aec.c:130:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:130:42: sparse: expected void volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:130:42: sparse: got void * drivers/uio/uio_aec.c:131:43: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:131:43: sparse: expected void volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:131:43: sparse: got void * drivers/uio/uio_aec.c:133:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/uio/uio_aec.c:133:28: sparse: expected void const volatile [noderef] __iomem *addr drivers/uio/uio_aec.c:133:28: sparse: got void * >> drivers/uio/uio_aec.c:138:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *priv @@ >> drivers/uio/uio_aec.c:138:21: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/uio/uio_aec.c:138:21: sparse: got void *priv vim +643 drivers/scsi/hptiop.c 00f5970193e22c HighPoint Linux Team 2007-12-13 634 00f5970193e22c HighPoint Linux Team 2007-12-13 635 static int hptiop_map_pci_bar_mv(struct hptiop_hba *hba) 00f5970193e22c HighPoint Linux Team 2007-12-13 636 { 00f5970193e22c HighPoint Linux Team 2007-12-13 637 hba->u.mv.regs = hptiop_map_pci_bar(hba, 0); 9bcf091083065c Harvey Harrison 2008-05-22 638 if (hba->u.mv.regs == NULL) 00f5970193e22c HighPoint Linux Team 2007-12-13 639 return -1; 00f5970193e22c HighPoint Linux Team 2007-12-13 640 00f5970193e22c HighPoint Linux Team 2007-12-13 641 hba->u.mv.mu = hptiop_map_pci_bar(hba, 2); 9bcf091083065c Harvey Harrison 2008-05-22 642 if (hba->u.mv.mu == NULL) { 00f5970193e22c HighPoint Linux Team 2007-12-13 @643 iounmap(hba->u.mv.regs); ede1e6f8b43246 HighPoint Linux Team 2006-05-16 644 return -1; ede1e6f8b43246 HighPoint Linux Team 2006-05-16 645 } ede1e6f8b43246 HighPoint Linux Team 2006-05-16 646 ede1e6f8b43246 HighPoint Linux Team 2006-05-16 647 return 0; ede1e6f8b43246 HighPoint Linux Team 2006-05-16 648 } ede1e6f8b43246 HighPoint Linux Team 2006-05-16 649 :::::: The code at line 643 was first introduced by commit :::::: 00f5970193e22c48f399a2430635d6416b51befe [SCSI] hptiop: add more adapter models and other fixes :::::: TO: HighPoint Linux Team :::::: CC: James Bottomley --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org