Re: [PATCH v1 2/3] drm/msm/edp: add support for next gen edp

From: kernel test robot
Date: Wed May 05 2021 - 21:50:52 EST


Hi Sankeerth,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master v5.12 next-20210505]
[cannot apply to drm/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Sankeerth-Billakanti/Add-support-for-next-gen-eDP-driver-on-SnapDragon/20210505-162011
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: arm64-randconfig-s032-20210505 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://github.com/0day-ci/linux/commit/a7bc50c70f53224d6cd5d0bd07371ad34d99a75e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sankeerth-Billakanti/Add-support-for-next-gen-eDP-driver-on-SnapDragon/20210505-162011
git checkout a7bc50c70f53224d6cd5d0bd07371ad34d99a75e
# 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__' W=1 ARCH=arm64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>


sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:571:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:571:35: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:571:35: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:573:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:573:35: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:573:35: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:576:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:576:35: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:576:35: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:578:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:578:35: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:578:35: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:637:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:637:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:637:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:642:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:642:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:642:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:727:42: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:727:42: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:727:42: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:982:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:982:38: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:982:38: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1001:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1001:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1001:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1042:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1042:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1042:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1043:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1043:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1043:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1044:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1044:26: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1044:26: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1056:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1056:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1056:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1059:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1059:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1059:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1061:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1061:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1061:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1072:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1072:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1072:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1078:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1078:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1078:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1090:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1090:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1090:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1092:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1092:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1092:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1102:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1102:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1102:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1112:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1112:28: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1112:28: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1118:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1118:35: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1118:35: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1121:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1121:35: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1121:35: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1326:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1326:33: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1326:33: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1327:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1327:33: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1327:33: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1341:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1341:27: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1341:27: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1346:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1346:27: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c:1346:27: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c: note: in included file:
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:82:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:82:16: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:82:16: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:82:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:82:16: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:82:16: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:70:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:70:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:70:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:92:9: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:50:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:50:16: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:50:16: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:50:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:50:16: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:50:16: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: got void *
>> drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:60:9: sparse: got void *
--
>> drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:68:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:68:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:68:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:76:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:76:26: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:76:26: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:88:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:88:26: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:88:26: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:94:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:94:32: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:94:32: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:96:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:96:40: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:96:40: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:152:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:152:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:152:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:229:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:229:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:229:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:247:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:247:32: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:247:32: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:251:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:251:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:251:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:257:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:257:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:257:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:259:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:259:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:259:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:260:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:260:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:260:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:263:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:263:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:263:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:266:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *base @@
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:266:34: sparse: expected void *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c:266:34: sparse: got void [noderef] __iomem *base
drivers/gpu/drm/msm/edp/v510/edp_v510_aux.c: note: in included file:
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:34:16: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/edp/v510/edp_v510.h:44:9: sparse: got void *

vim +571 drivers/gpu/drm/msm/edp/v510/edp_v510_ctrl.c

564
565 static void edp_ctrl_irq_enable(struct edp_ctrl *ctrl, int enable)
566 {
567 unsigned long flags;
568
569 spin_lock_irqsave(&ctrl->irq_lock, flags);
570 if (enable) {
> 571 edp_write_ahb(ctrl->base, REG_EDP_INTR_STATUS,
572 EDP_INTERRUPT_STATUS1_MASK);
573 edp_write_ahb(ctrl->base, REG_EDP_INTR_STATUS2,
574 EDP_INTERRUPT_STATUS2_MASK);
575 } else {
576 edp_write_ahb(ctrl->base, REG_EDP_INTR_STATUS,
577 EDP_INTERRUPT_STATUS1_ACK);
578 edp_write_ahb(ctrl->base, REG_EDP_INTR_STATUS2,
579 EDP_INTERRUPT_STATUS2_ACK);
580 }
581 spin_unlock_irqrestore(&ctrl->irq_lock, flags);
582 }
583

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip