Skip to content

Commit

Permalink
drm/sti: Add __iomem for mixer_dbg_mxn's parameter
Browse files Browse the repository at this point in the history
[ Upstream commit 86e8f94789dd6f3e705bfa821e1e416f97a2f863 ]

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: a5f8107 ("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]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
Pei Xiao authored and gregkh committed Dec 14, 2024
1 parent 1b6341c commit 8bc28b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/sti/sti_mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8bc28b5

Please sign in to comment.