Skip to content

Commit 86e8f94

Browse files
Pei XiaorgallaispouSTM
authored andcommitted
drm/sti: Add __iomem for mixer_dbg_mxn's parameter
Sparse complains about incorrect type in argument 1. expected void const volatile __iomem *ptr but got void *. so modify mixer_dbg_mxn's addr parameter. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202411191809.6V3c826r-lkp@intel.com/ Fixes: a5f8107 ("drm/sti: add debugfs entries for MIXER crtc") Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn> Acked-by: Raphael Gallais-Pou <rgallaispou@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/c28f0dcb6a4526721d83ba1f659bba30564d3d54.1732087094.git.xiaopei01@kylinos.cn Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
1 parent bd2fcca commit 86e8f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/sti/sti_mixer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static void mixer_dbg_crb(struct seq_file *s, int val)
137137
}
138138
}
139139

140-
static void mixer_dbg_mxn(struct seq_file *s, void *addr)
140+
static void mixer_dbg_mxn(struct seq_file *s, void __iomem *addr)
141141
{
142142
int i;
143143

0 commit comments

Comments
 (0)