From: "Raphaël Gallais-Pou" <rgallaispou@gmail.com>
To: Pei Xiao <xiaopei01@kylinos.cn>,
alain.volmat@foss.st.com, maarten.lankhorst@linux.intel.com,
mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com,
simona@ffwll.ch, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org, --to=lkp@intel.com
Cc: ville.syrjala@linux.intel.com, kernel test robot <lkp@intel.com>
Subject: Re: [PATCH] drm/sti: Add __iomem for mixer_dbg_mxn's parameter
Date: Thu, 21 Nov 2024 12:18:44 +0100 [thread overview]
Message-ID: <c3e3b5b4-1b67-4564-ab3e-da7a073f45ec@gmail.com> (raw)
In-Reply-To: <c28f0dcb6a4526721d83ba1f659bba30564d3d54.1732087094.git.xiaopei01@kylinos.cn>
> 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: a5f81078a56c ("drm/sti: add debugfs entries for MIXER crtc")
> Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Hi,
Thanks for your fix.
Acked-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Regards,
Raphaël
> ---
> drivers/gpu/drm/sti/sti_mixer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/sti/sti_mixer.c b/drivers/gpu/drm/sti/sti_mixer.c
> index 7e5f14646625..06c1b81912f7 100644
> --- a/drivers/gpu/drm/sti/sti_mixer.c
> +++ b/drivers/gpu/drm/sti/sti_mixer.c
> @@ -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;
>
next prev parent reply other threads:[~2024-11-21 11:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 1:11 drivers/gpu/drm/sti/sti_mixer.c:145:47: sparse: sparse: incorrect type in argument 1 (different address spaces) kernel test robot
2024-11-20 7:21 ` [PATCH] drm/sti: Add __iomem for mixer_dbg_mxn's parameter Pei Xiao
2024-11-21 11:18 ` Raphaël Gallais-Pou [this message]
2024-11-26 13:46 ` Raphael Gallais-Pou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3e3b5b4-1b67-4564-ab3e-da7a073f45ec@gmail.com \
--to=rgallaispou@gmail.com \
--cc=--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=alain.volmat@foss.st.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=ville.syrjala@linux.intel.com \
--cc=xiaopei01@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®