]> Git Repo - linux.git/commitdiff
drm/sti: Add __iomem for mixer_dbg_mxn's parameter
authorPei Xiao <[email protected]>
Wed, 20 Nov 2024 07:21:36 +0000 (15:21 +0800)
committerRaphael Gallais-Pou <[email protected]>
Tue, 26 Nov 2024 13:02:25 +0000 (14:02 +0100)
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: a5f81078a56c ("drm/sti: add debugfs entries for MIXER crtc")
Signed-off-by: Pei Xiao <[email protected]>
Acked-by: Raphael Gallais-Pou <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/c28f0dcb6a4526721d83ba1f659bba30564d3d54.1732087094.git.xiaopei01@kylinos.cn
Signed-off-by: Raphael Gallais-Pou <[email protected]>
drivers/gpu/drm/sti/sti_mixer.c

index 7e5f14646625b437a28b94c4a173ed7dc9ee9d23..06c1b81912f79ffc31cded8daeb8a5611610cd1c 100644 (file)
@@ -137,7 +137,7 @@ static void mixer_dbg_crb(struct seq_file *s, int val)
        }
 }
 
-static void mixer_dbg_mxn(struct seq_file *s, void *addr)
+static void mixer_dbg_mxn(struct seq_file *s, void __iomem *addr)
 {
        int i;
 
This page took 0.058259 seconds and 4 git commands to generate.