From: Alessio Belle <Alessio.Belle@imgtec.com>
To: "ben.dooks@codethink.co.uk" <ben.dooks@codethink.co.uk>
Cc: "tzimmermann@suse.de" <tzimmermann@suse.de>,
"Matt.Coster@imgtec.com" <Matt.Coster@imgtec.com>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"airlied@gmail.com" <airlied@gmail.com>,
Frank Binns <Frank.Binns@imgtec.com>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>,
"mripard@kernel.org" <mripard@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm/imagination: make pvr_fw_trace_init_mask_ops static
Date: Wed, 1 Jul 2026 18:18:13 +0000 [thread overview]
Message-ID: <8114990b991bab4ad2b1ee97844db3c2556c05e7.camel@imgtec.com> (raw)
In-Reply-To: <055465207ab6f86f0d12b73a592bbecd9768c8f6.camel@imgtec.com>
Hi Ben,
On Mon, 2026-06-29 at 11:05 +0000, Alessio Belle wrote:
> On Tue, 2026-06-23 at 11:53 +0100, Ben Dooks wrote:
> > The pvr_fw_trace_init_mask_ops is not used outside pvr_fw_trace.c
> > so make it static to avoid the following sparse warning:
> >
> > drivers/gpu/drm/imagination/pvr_fw_trace.c:74:31: warning: symbol 'pvr_fw_trace_init_mask_ops' was not declared. Should it be static?
> >
> > Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>
> Reviewed-by: Alessio Belle <alessio.belle@imgtec.com>
Actually, could you add a Fixes tag pointing at c6978643ea1c ("drm/imagination:
Validate fw trace group_mask")? You can then add the Reviewed-by tag as well for
last.
Thanks,
Alessio
>
> Thanks,
> Alessio
>
> > ---
> > drivers/gpu/drm/imagination/pvr_fw_trace.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/imagination/pvr_fw_trace.c b/drivers/gpu/drm/imagination/pvr_fw_trace.c
> > index 6bb5baa6c41b..805d9f9bc1dd 100644
> > --- a/drivers/gpu/drm/imagination/pvr_fw_trace.c
> > +++ b/drivers/gpu/drm/imagination/pvr_fw_trace.c
> > @@ -71,7 +71,7 @@ pvr_fw_trace_init_mask_set(const char *val, const struct kernel_param *kp)
> > return 0;
> > }
> >
> > -const struct kernel_param_ops pvr_fw_trace_init_mask_ops = {
> > +static const struct kernel_param_ops pvr_fw_trace_init_mask_ops = {
> > .set = pvr_fw_trace_init_mask_set,
> > .get = param_get_hexint,
> > };
>
next prev parent reply other threads:[~2026-07-01 18:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-23 10:53 Ben Dooks
2026-06-29 11:05 ` Alessio Belle
2026-07-01 18:18 ` Alessio Belle [this message]
2026-07-03 16:23 ` Ben Dooks
2026-07-03 16:35 ` Ben Dooks
2026-07-06 16:18 ` Alessio Belle
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=8114990b991bab4ad2b1ee97844db3c2556c05e7.camel@imgtec.com \
--to=alessio.belle@imgtec.com \
--cc=Frank.Binns@imgtec.com \
--cc=Matt.Coster@imgtec.com \
--cc=airlied@gmail.com \
--cc=ben.dooks@codethink.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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®