[PATCH 25/35] drm/amd/display: Reorganize kerneldoc parameter names

Julia Lawall posted 35 patches 1 month, 4 weeks ago
[PATCH 25/35] drm/amd/display: Reorganize kerneldoc parameter names
Posted by Julia Lawall 1 month, 4 weeks ago
Reorganize kerneldoc parameter names to match the parameter
order in the function header.

Problems identified using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/gpu/drm/amd/display/dc/core/dc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 5c39390ecbd5..417fe508c57f 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -621,8 +621,8 @@ dc_stream_forward_crc_window(struct dc_stream_state *stream,
  * dc_stream_configure_crc() - Configure CRC capture for the given stream.
  * @dc: DC Object
  * @stream: The stream to configure CRC on.
- * @enable: Enable CRC if true, disable otherwise.
  * @crc_window: CRC window (x/y start/end) information
+ * @enable: Enable CRC if true, disable otherwise.
  * @continuous: Capture CRC on every frame if true. Otherwise, only capture
  *              once.
  *
Re: [PATCH 25/35] drm/amd/display: Reorganize kerneldoc parameter names
Posted by Harry Wentland 1 month, 4 weeks ago

On 2024-09-30 07:21, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
> 
> Problems identified using Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> 
> ---
>  drivers/gpu/drm/amd/display/dc/core/dc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Harry

> 
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index 5c39390ecbd5..417fe508c57f 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> @@ -621,8 +621,8 @@ dc_stream_forward_crc_window(struct dc_stream_state *stream,
>   * dc_stream_configure_crc() - Configure CRC capture for the given stream.
>   * @dc: DC Object
>   * @stream: The stream to configure CRC on.
> - * @enable: Enable CRC if true, disable otherwise.
>   * @crc_window: CRC window (x/y start/end) information
> + * @enable: Enable CRC if true, disable otherwise.
>   * @continuous: Capture CRC on every frame if true. Otherwise, only capture
>   *              once.
>   *
>
Re: [PATCH 25/35] drm/amd/display: Reorganize kerneldoc parameter names
Posted by Alex Deucher 1 month, 4 weeks ago
Applied.  Thanks!

On Mon, Sep 30, 2024 at 10:49 AM Harry Wentland <harry.wentland@amd.com> wrote:
>
>
>
> On 2024-09-30 07:21, Julia Lawall wrote:
> > Reorganize kerneldoc parameter names to match the parameter
> > order in the function header.
> >
> > Problems identified using Coccinelle.
> >
> > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> >
> > ---
> >  drivers/gpu/drm/amd/display/dc/core/dc.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
>
> Harry
>
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> > index 5c39390ecbd5..417fe508c57f 100644
> > --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> > +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> > @@ -621,8 +621,8 @@ dc_stream_forward_crc_window(struct dc_stream_state *stream,
> >   * dc_stream_configure_crc() - Configure CRC capture for the given stream.
> >   * @dc: DC Object
> >   * @stream: The stream to configure CRC on.
> > - * @enable: Enable CRC if true, disable otherwise.
> >   * @crc_window: CRC window (x/y start/end) information
> > + * @enable: Enable CRC if true, disable otherwise.
> >   * @continuous: Capture CRC on every frame if true. Otherwise, only capture
> >   *              once.
> >   *
> >
>