linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpu: drm: panel-edp: Fix edp_panel_entry documentation
@ 2021-11-17 16:32 Kieran Bingham
  2021-11-17 16:49 ` Doug Anderson
  0 siblings, 1 reply; 3+ messages in thread
From: Kieran Bingham @ 2021-11-17 16:32 UTC (permalink / raw)
  To: dri-devel
  Cc: Kieran Bingham, Thierry Reding, Sam Ravnborg, David Airlie,
	Daniel Vetter, Douglas Anderson, Linus Walleij, open list

The edp_panel_entry members 'delay' and 'name' are documented, but
without the correct syntax for kernel doc.

This generates the following warnings:

drivers/gpu/drm/panel/panel-edp.c:204: warning: Function parameter or member 'delay' not described in 'edp_panel_entry'
drivers/gpu/drm/panel/panel-edp.c:204: warning: Function parameter or member 'name' not described in 'edp_panel_entry'

Fix them accordingly.

Fixes: 5540cf8f3e8d ("drm/panel-edp: Implement generic "edp-panel"s probed by EDID")
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 drivers/gpu/drm/panel/panel-edp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index fc03046de134..176ef0c3cc1d 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -196,10 +196,10 @@ struct edp_panel_entry {
 	/** @panel_id: 32-bit ID for panel, encoded with drm_edid_encode_panel_id(). */
 	u32 panel_id;
 
-	/* @delay: The power sequencing delays needed for this panel. */
+	/** @delay: The power sequencing delays needed for this panel. */
 	const struct panel_delay *delay;
 
-	/* @name: Name of this panel (for printing to logs). */
+	/** @name: Name of this panel (for printing to logs). */
 	const char *name;
 };
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpu: drm: panel-edp: Fix edp_panel_entry documentation
  2021-11-17 16:32 [PATCH] gpu: drm: panel-edp: Fix edp_panel_entry documentation Kieran Bingham
@ 2021-11-17 16:49 ` Doug Anderson
  2021-11-17 17:02   ` Kieran Bingham
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Anderson @ 2021-11-17 16:49 UTC (permalink / raw)
  To: Kieran Bingham
  Cc: dri-devel, Thierry Reding, Sam Ravnborg, David Airlie,
	Daniel Vetter, Linus Walleij, open list

Hi,

On Wed, Nov 17, 2021 at 8:32 AM Kieran Bingham
<kieran.bingham+renesas@ideasonboard.com> wrote:
>
> The edp_panel_entry members 'delay' and 'name' are documented, but
> without the correct syntax for kernel doc.
>
> This generates the following warnings:
>
> drivers/gpu/drm/panel/panel-edp.c:204: warning: Function parameter or member 'delay' not described in 'edp_panel_entry'
> drivers/gpu/drm/panel/panel-edp.c:204: warning: Function parameter or member 'name' not described in 'edp_panel_entry'
>
> Fix them accordingly.
>
> Fixes: 5540cf8f3e8d ("drm/panel-edp: Implement generic "edp-panel"s probed by EDID")
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
> ---
>  drivers/gpu/drm/panel/panel-edp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks! Pushed to drm-misc-next (though technically it's a fix, it
didn't seem urgent enough to go through -fixes. Hopefully this is OK).

1e66f04c14ab gpu: drm: panel-edp: Fix edp_panel_entry documentation

-Doug

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpu: drm: panel-edp: Fix edp_panel_entry documentation
  2021-11-17 16:49 ` Doug Anderson
@ 2021-11-17 17:02   ` Kieran Bingham
  0 siblings, 0 replies; 3+ messages in thread
From: Kieran Bingham @ 2021-11-17 17:02 UTC (permalink / raw)
  To: Doug Anderson
  Cc: dri-devel, Thierry Reding, Sam Ravnborg, David Airlie,
	Daniel Vetter, Linus Walleij, open list

Quoting Doug Anderson (2021-11-17 16:49:43)
> Hi,
> 
> On Wed, Nov 17, 2021 at 8:32 AM Kieran Bingham
> <kieran.bingham+renesas@ideasonboard.com> wrote:
> >
> > The edp_panel_entry members 'delay' and 'name' are documented, but
> > without the correct syntax for kernel doc.
> >
> > This generates the following warnings:
> >
> > drivers/gpu/drm/panel/panel-edp.c:204: warning: Function parameter or member 'delay' not described in 'edp_panel_entry'
> > drivers/gpu/drm/panel/panel-edp.c:204: warning: Function parameter or member 'name' not described in 'edp_panel_entry'
> >
> > Fix them accordingly.
> >
> > Fixes: 5540cf8f3e8d ("drm/panel-edp: Implement generic "edp-panel"s probed by EDID")
> > Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
> > ---
> >  drivers/gpu/drm/panel/panel-edp.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Thanks! Pushed to drm-misc-next (though technically it's a fix, it
> didn't seem urgent enough to go through -fixes. Hopefully this is OK).
> 

Certainly, I agree it's not urgent. I wasn't even sure if I should add
the Fixes tag, but I figured if I left it out someone would jump in with
it ;-)

> 1e66f04c14ab gpu: drm: panel-edp: Fix edp_panel_entry documentation
> 
> -Doug

Thanks

Kieran

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-17 17:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 16:32 [PATCH] gpu: drm: panel-edp: Fix edp_panel_entry documentation Kieran Bingham
2021-11-17 16:49 ` Doug Anderson
2021-11-17 17:02   ` Kieran Bingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).