Messages in this thread | | | Date | Sat, 25 Jul 2020 07:09:28 +0800 | From | kernel test robot <> | Subject | drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: incorrect type in initializer (different address spaces) |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f37e99aca03f63aa3f2bd13ceaf769455d12c4b0 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 5 weeks ago config: arm-randconfig-s032-20200723 (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-93-g4c6cbe55-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 <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: cast removes address space '__user' of expression -- >> drivers/mtd/maps/dc21285.c:57:22: sparse: sparse: cast removes address space '__iomem' of expression drivers/mtd/maps/dc21285.c:64:22: sparse: sparse: cast removes address space '__iomem' of expression drivers/mtd/maps/dc21285.c:71:22: sparse: sparse: cast removes address space '__iomem' of expression drivers/mtd/maps/dc21285.c:77:21: sparse: sparse: cast removes address space '__iomem' of expression drivers/mtd/maps/dc21285.c:86:11: sparse: sparse: cast removes address space '__iomem' of expression drivers/mtd/maps/dc21285.c:95:11: sparse: sparse: cast removes address space '__iomem' of expression drivers/mtd/maps/dc21285.c:102:11: sparse: sparse: cast removes address space '__iomem' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:819:42: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1094:5: sparse: sparse: symbol 'amdgpu_ttm_gart_bind' was not declared. Should it be static? drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: expected unsigned int [noderef] __user *register __p drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression -- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __poll_t ( *poll )( ... ) @@ got unsigned int ( * )( ... ) @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: expected restricted __poll_t ( *poll )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: got unsigned int ( * )( ... ) drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: expected unsigned int [noderef] __user *register __p drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: expected unsigned int [noderef] __user *register __p drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: expected unsigned int [noderef] __user *register __p drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: expected unsigned int [noderef] __user *register __p drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: cast removes address space '__user' of expression >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const [noderef] __user *__pu_ptr @@ got signed int [usertype] * @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: expected signed int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: got signed int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@ drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: expected unsigned int [noderef] __user *register __p drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: got unsigned int [usertype] * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: sparse: cast removes address space '__user' of expression drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1256:25: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1256:25: sparse: struct dma_fence [noderef] __rcu * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1256:25: sparse: struct dma_fence * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1257:17: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1257:17: sparse: struct dma_fence [noderef] __rcu * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1257:17: sparse: struct dma_fence * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1307:23: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1313:17: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1313:17: sparse: struct dma_fence [noderef] __rcu * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1313:17: sparse: struct dma_fence * drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1341:32: sparse: sparse: cast to restricted __le32 -- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:155:9: sparse: sparse: incompatible types in conditional expression (different base types): drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:155:9: sparse: void drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:155:9: sparse: int drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:526:5: sparse: sparse: symbol 'psp_ta_invoke' was not declared. Should it be static? drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2036:36: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2037:41: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2038:36: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2040:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2078:44: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2079:49: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2080:42: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2081:42: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2083:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2085:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2088:50: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2090:41: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2091:50: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2093:41: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2097:50: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2099:53: sparse: sparse: cast to restricted __le32 >> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2187:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] cpu_addr @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2187:9: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2187:9: sparse: got void *[assigned] cpu_addr -- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:210:21: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:215:34: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:216:34: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:241:30: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:242:30: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:243:30: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:249:40: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:255:28: sparse: sparse: cast to restricted __le32 >> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:384:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *[assigned] ptr @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:384:25: sparse: expected void const volatile [noderef] __iomem *from drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:384:25: sparse: got void *[assigned] ptr >> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:409:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] ptr @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:409:25: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:409:25: sparse: got void *[assigned] ptr drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:418:42: sparse: sparse: cast to restricted __le32 >> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:419:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *cpu_addr @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:419:33: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:419:33: sparse: got void *cpu_addr drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:419:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:421:41: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:422:40: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:424:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *dst @@ got void *[assigned] ptr @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:424:25: sparse: expected void volatile [noderef] __iomem *dst drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:424:25: sparse: got void *[assigned] ptr drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:683:35: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1151:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1151:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1151:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1152:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1152:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1152:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1153:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1153:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1153:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1154:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1154:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1154:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1155:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1155:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1155:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1156:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1156:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1156:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1157:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1157:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1157:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1158:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1158:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1158:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1159:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1159:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1159:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1160:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1160:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1160:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1161:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1161:17: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1161:17: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1163:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1163:24: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1163:24: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1183:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1183:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1183:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1184:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1184:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1184:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1185:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1185:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1185:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1186:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1186:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1186:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1188:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1188:24: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1188:24: sparse: got restricted __le32 [usertype] -- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:177:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:314:18: sparse: sparse: cast to restricted __le32 >> drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:315:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[addressable] cpu_addr @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:315:9: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:315:9: sparse: got void *[addressable] cpu_addr -- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:456:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:456:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:456:25: sparse: sparse: cast to restricted __le32 >> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:567:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *ptr @@ >> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:567:17: sparse: expected void const volatile [noderef] __iomem *from drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:567:17: sparse: got void *ptr >> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:589:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *ptr @@ >> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:589:17: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:589:17: sparse: got void *ptr drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:1044:27: sparse: sparse: symbol 'vce_v4_0_ip_funcs' was not declared. Should it be static? -- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:131:32: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:139:21: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:143:26: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:144:30: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:146:28: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:147:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:153:29: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:154:34: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:155:34: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:162:28: sparse: sparse: cast to restricted __le32 >> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:260:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *[assigned] ptr @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:260:17: sparse: expected void const volatile [noderef] __iomem *from drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:260:17: sparse: got void *[assigned] ptr drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:271:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *[assigned] ptr @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:271:17: sparse: expected void const volatile [noderef] __iomem *from drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:271:17: sparse: got void *[assigned] ptr >> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:292:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] ptr @@ >> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:292:25: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:292:25: sparse: got void *[assigned] ptr drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:301:42: sparse: sparse: cast to restricted __le32 >> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:302:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *cpu_addr @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:302:33: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:302:33: sparse: got void *cpu_addr drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:302:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:304:41: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:305:40: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:307:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *dst @@ got void *[assigned] ptr @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:307:25: sparse: expected void volatile [noderef] __iomem *dst drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:307:25: sparse: got void *[assigned] ptr drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:317:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] ptr @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:317:25: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:317:25: sparse: got void *[assigned] ptr drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:319:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *dst @@ got void *[assigned] ptr @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:319:25: sparse: expected void volatile [noderef] __iomem *dst drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:319:25: sparse: got void *[assigned] ptr drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:503:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:503:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:503:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:504:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:504:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:504:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:505:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:505:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:505:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:506:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:506:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:506:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:507:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:507:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:507:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:508:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:508:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:508:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:509:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:509:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:509:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:510:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:510:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:510:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:511:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:511:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:511:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:512:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:512:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:512:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:513:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:513:17: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:513:17: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:514:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:514:17: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:514:17: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:515:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:515:17: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:515:17: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:516:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:516:17: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:516:17: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:518:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:518:24: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:518:24: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:537:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:537:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:537:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:538:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:538:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:538:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:539:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:539:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:539:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:540:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:540:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:540:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:541:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:541:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:541:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:542:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:542:16: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:542:16: sparse: got restricted __le32 [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:544:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:544:24: sparse: expected unsigned int [usertype] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:544:24: sparse: got restricted __le32 [usertype] -- drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 >> drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:408:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *kaddr @@ >> drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:408:9: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:408:9: sparse: got void *kaddr -- >> drivers/char/nwflash.c:591:28: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char volatile *static [toplevel] FLASH_BASE @@ got void [noderef] __iomem * @@ drivers/char/nwflash.c:591:28: sparse: expected unsigned char volatile *static [toplevel] FLASH_BASE >> drivers/char/nwflash.c:591:28: sparse: got void [noderef] __iomem * >> drivers/char/nwflash.c:598:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void * @@ >> drivers/char/nwflash.c:598:34: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/char/nwflash.c:598:34: sparse: got void * drivers/char/nwflash.c:608:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void * @@ drivers/char/nwflash.c:608:34: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/char/nwflash.c:608:34: sparse: got void * drivers/char/nwflash.c:618:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void * @@ drivers/char/nwflash.c:618:18: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/char/nwflash.c:618:18: sparse: got void * -- 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/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 *iomem_cookie @@ got void *virtual @@ >> drivers/gpu/drm/ttm/ttm_bo_util.c:241:25: sparse: expected void volatile [noderef] __iomem *iomem_cookie 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 volatile [noderef] __iomem *addr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/ttm/ttm_bo_util.c:256:40: sparse: expected void const volatile [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 volatile [noderef] __iomem *addr @@ got unsigned int [usertype] * @@ drivers/gpu/drm/ttm/ttm_bo_util.c:256:49: sparse: expected void volatile [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:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *[assigned] src @@ >> drivers/gpu/drm/ttm/ttm_bo_util.c:275:9: sparse: expected void const volatile [noderef] __iomem *from drivers/gpu/drm/ttm/ttm_bo_util.c:275:9: sparse: got void *[assigned] src >> drivers/gpu/drm/ttm/ttm_bo_util.c:297:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] dst @@ >> drivers/gpu/drm/ttm/ttm_bo_util.c:297:9: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/ttm/ttm_bo_util.c:297:9: sparse: got void *[assigned] dst drivers/gpu/drm/ttm/ttm_bo_util.c:344:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *dst @@ got void *[addressable] new_iomap @@ drivers/gpu/drm/ttm/ttm_bo_util.c:344:17: sparse: expected void volatile [noderef] __iomem *dst drivers/gpu/drm/ttm/ttm_bo_util.c:344:17: 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 *iomem_cookie @@ got void *virtual @@ drivers/gpu/drm/ttm/ttm_bo_util.c:608:28: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/gpu/drm/ttm/ttm_bo_util.c:608:28: sparse: got void *virtual -- drivers/gpu/drm/mgag200/mgag200_cursor.c:32:44: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/gpu/drm/mgag200/mgag200_cursor.c:32:44: sparse: expected void const volatile [noderef] __iomem *addr drivers/gpu/drm/mgag200/mgag200_cursor.c:32:44: sparse: got void * drivers/gpu/drm/mgag200/mgag200_cursor.c:85:52: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/gpu/drm/mgag200/mgag200_cursor.c:85:52: sparse: expected void const volatile [noderef] __iomem *addr drivers/gpu/drm/mgag200/mgag200_cursor.c:85:52: sparse: got void * >> drivers/gpu/drm/mgag200/mgag200_cursor.c:103:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void * @@ >> drivers/gpu/drm/mgag200/mgag200_cursor.c:103:17: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/mgag200/mgag200_cursor.c:103:17: sparse: got void * -- drivers/gpu/drm/qxl/qxl_kms.c:36:5: sparse: sparse: symbol 'qxl_log_level' was not declared. Should it be static? drivers/gpu/drm/qxl/qxl_kms.c:170:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct qxl_rom *rom @@ got void [noderef] __iomem * @@ drivers/gpu/drm/qxl/qxl_kms.c:170:19: sparse: expected struct qxl_rom *rom drivers/gpu/drm/qxl/qxl_kms.c:170:19: sparse: got void [noderef] __iomem * drivers/gpu/drm/qxl/qxl_kms.c:188:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct qxl_ram_header *ram_header @@ got void [noderef] __iomem * @@ drivers/gpu/drm/qxl/qxl_kms.c:188:26: sparse: expected struct qxl_ram_header *ram_header drivers/gpu/drm/qxl/qxl_kms.c:188:26: sparse: got void [noderef] __iomem * >> drivers/gpu/drm/qxl/qxl_kms.c:277:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got struct qxl_ram_header *ram_header @@ >> drivers/gpu/drm/qxl/qxl_kms.c:277:21: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/gpu/drm/qxl/qxl_kms.c:277:21: sparse: got struct qxl_ram_header *ram_header >> drivers/gpu/drm/qxl/qxl_kms.c:281:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got struct qxl_rom *rom @@ drivers/gpu/drm/qxl/qxl_kms.c:281:21: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/gpu/drm/qxl/qxl_kms.c:281:21: sparse: got struct qxl_rom *rom drivers/gpu/drm/qxl/qxl_kms.c:301:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got struct qxl_ram_header *ram_header @@ drivers/gpu/drm/qxl/qxl_kms.c:301:21: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/gpu/drm/qxl/qxl_kms.c:301:21: sparse: got struct qxl_ram_header *ram_header drivers/gpu/drm/qxl/qxl_kms.c:302:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got struct qxl_rom *rom @@ drivers/gpu/drm/qxl/qxl_kms.c:302:21: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/gpu/drm/qxl/qxl_kms.c:302:21: sparse: got struct qxl_rom *rom -- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: expected void volatile [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 volatile [noderef] __iomem *addr @@ got void * @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:110:58: sparse: expected void const volatile [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 *iomem_cookie @@ got void *[assigned] emap @@ >> drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:157:25: sparse: expected void volatile [noderef] __iomem *iomem_cookie 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 *iomem_cookie @@ got void *[assigned] map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:327:25: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:327:25: sparse: got void *[assigned] map -- drivers/isdn/hardware/mISDN/hfcmulti.c:452:17: sparse: sparse: cast from restricted __le32 drivers/isdn/hardware/mISDN/hfcmulti.c:457:17: sparse: sparse: cast from restricted __le16 drivers/isdn/hardware/mISDN/hfcmulti.c:472:17: sparse: sparse: cast from restricted __le32 drivers/isdn/hardware/mISDN/hfcmulti.c:478:17: sparse: sparse: cast from restricted __le16 drivers/isdn/hardware/mISDN/hfcmulti.c:496:32: sparse: sparse: cast to restricted __le32 drivers/isdn/hardware/mISDN/hfcmulti.c:501:32: sparse: sparse: cast to restricted __le16 drivers/isdn/hardware/mISDN/hfcmulti.c:518:25: sparse: sparse: cast to restricted __le32 drivers/isdn/hardware/mISDN/hfcmulti.c:524:25: sparse: sparse: cast to restricted __le16 >> drivers/isdn/hardware/mISDN/hfcmulti.c:1092:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void * @@ >> drivers/isdn/hardware/mISDN/hfcmulti.c:1092:26: sparse: expected void volatile [noderef] __iomem *iomem_cookie drivers/isdn/hardware/mISDN/hfcmulti.c:1092:26: sparse: got void *
vim +979 drivers/gpu/drm/radeon/radeon_ttm.c
2014b5694182b5 Christian König 2013-12-18 954 2014b5694182b5 Christian König 2013-12-18 955 static ssize_t radeon_ttm_vram_read(struct file *f, char __user *buf, 2014b5694182b5 Christian König 2013-12-18 956 size_t size, loff_t *pos) 2014b5694182b5 Christian König 2013-12-18 957 { 2014b5694182b5 Christian König 2013-12-18 958 struct radeon_device *rdev = f->private_data; 2014b5694182b5 Christian König 2013-12-18 959 ssize_t result = 0; 2014b5694182b5 Christian König 2013-12-18 960 int r; 2014b5694182b5 Christian König 2013-12-18 961 2014b5694182b5 Christian König 2013-12-18 962 if (size & 0x3 || *pos & 0x3) 2014b5694182b5 Christian König 2013-12-18 963 return -EINVAL; 2014b5694182b5 Christian König 2013-12-18 964 2014b5694182b5 Christian König 2013-12-18 965 while (size) { 2014b5694182b5 Christian König 2013-12-18 966 unsigned long flags; 2014b5694182b5 Christian König 2013-12-18 967 uint32_t value; 2014b5694182b5 Christian König 2013-12-18 968 2014b5694182b5 Christian König 2013-12-18 969 if (*pos >= rdev->mc.mc_vram_size) 2014b5694182b5 Christian König 2013-12-18 970 return result; 2014b5694182b5 Christian König 2013-12-18 971 2014b5694182b5 Christian König 2013-12-18 972 spin_lock_irqsave(&rdev->mmio_idx_lock, flags); 2014b5694182b5 Christian König 2013-12-18 973 WREG32(RADEON_MM_INDEX, ((uint32_t)*pos) | 0x80000000); 2014b5694182b5 Christian König 2013-12-18 974 if (rdev->family >= CHIP_CEDAR) 2014b5694182b5 Christian König 2013-12-18 975 WREG32(EVERGREEN_MM_INDEX_HI, *pos >> 31); 2014b5694182b5 Christian König 2013-12-18 976 value = RREG32(RADEON_MM_DATA); 2014b5694182b5 Christian König 2013-12-18 977 spin_unlock_irqrestore(&rdev->mmio_idx_lock, flags); 2014b5694182b5 Christian König 2013-12-18 978 2014b5694182b5 Christian König 2013-12-18 @979 r = put_user(value, (uint32_t *)buf); 2014b5694182b5 Christian König 2013-12-18 980 if (r) 2014b5694182b5 Christian König 2013-12-18 981 return r; 2014b5694182b5 Christian König 2013-12-18 982 2014b5694182b5 Christian König 2013-12-18 983 result += 4; 2014b5694182b5 Christian König 2013-12-18 984 buf += 4; 2014b5694182b5 Christian König 2013-12-18 985 *pos += 4; 2014b5694182b5 Christian König 2013-12-18 986 size -= 4; 2014b5694182b5 Christian König 2013-12-18 987 } 2014b5694182b5 Christian König 2013-12-18 988 2014b5694182b5 Christian König 2013-12-18 989 return result; 2014b5694182b5 Christian König 2013-12-18 990 } 2014b5694182b5 Christian König 2013-12-18 991
:::::: The code at line 979 was first introduced by commit :::::: 2014b5694182b54c781b93d26ec993f8a12bca01 drm/radeon: add VRAM debugfs access v3
:::::: TO: Christian König <christian.koenig@amd.com> :::::: CC: Alex Deucher <alexander.deucher@amd.com>
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |