Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/msm/a6xx: correct cx_debugbus_read arguments

First argument of cx_debugbus_read() should be 'void __iomem *' rather
than 'void * __iomem' to make sparse happy.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20211002183118.748841-1-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>

authored by

Dmitry Baryshkov and committed by
Rob Clark
1c8e5748 d9fbb54d

+1 -1
+1 -1
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
··· 180 180 msm_readl((ptr) + ((offset) << 2)) 181 181 182 182 /* read a value from the CX debug bus */ 183 - static int cx_debugbus_read(void *__iomem cxdbg, u32 block, u32 offset, 183 + static int cx_debugbus_read(void __iomem *cxdbg, u32 block, u32 offset, 184 184 u32 *data) 185 185 { 186 186 u32 reg = A6XX_CX_DBGC_CFG_DBGBUS_SEL_A_PING_INDEX(offset) |