[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251111174234.53be1a97@kernel.org>
Date: Tue, 11 Nov 2025 17:42:34 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Kriish Sharma <kriish.sharma2006@...il.com>
Cc: Ivan Vecera <ivecera@...hat.com>, Prathosh Satish
<Prathosh.Satish@...rochip.com>, Vadim Fedorenko
<vadim.fedorenko@...ux.dev>, Arkadiusz Kubalewski
<arkadiusz.kubalewski@...el.com>, Jiri Pirko <jiri@...nulli.us>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dpll: zl3073x: fix kernel-doc name and missing
parameter in fw.c
On Mon, 10 Nov 2025 19:50:30 +0000 Kriish Sharma wrote:
> Documentation build reported:
What do you mean by "documentation build"? make htmldocs?
> Warning: drivers/dpll/zl3073x/fw.c:365 function parameter 'comp' not described in 'zl3073x_fw_component_flash'
> Warning: drivers/dpll/zl3073x/fw.c:365 expecting prototype for zl3073x_flash_bundle_flash(). Prototype was for zl3073x_fw_component_flash() instead
>
> The kernel-doc comment above `zl3073x_fw_component_flash()` used the wrong
> function name (`zl3073x_flash_bundle_flash`) and omitted the `@...p` parameter.
> This patch updates the comment to correctly document the
> `zl3073x_fw_component_flash()` function and its arguments.
>
> Fixes: ca017409da69 ("dpll: zl3073x: Add firmware loading functionality")
> Signed-off-by: Kriish Sharma <kriish.sharma2006@...il.com>
> ---
> drivers/dpll/zl3073x/fw.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/dpll/zl3073x/fw.c b/drivers/dpll/zl3073x/fw.c
> index def37fe8d9b0..ca5210c0829d 100644
> --- a/drivers/dpll/zl3073x/fw.c
> +++ b/drivers/dpll/zl3073x/fw.c
> @@ -352,9 +352,9 @@ struct zl3073x_fw *zl3073x_fw_load(struct zl3073x_dev *zldev, const char *data,
> }
>
> /**
> - * zl3073x_flash_bundle_flash - Flash all components
> + * zl3073x_fw_component_flash - Flash all components
> * @zldev: zl3073x device structure
> - * @components: pointer to components array
> + * @comp: pointer to components array
> * @extack: netlink extack pointer to report errors
> *
> * Returns 0 in case of success or negative number otherwise.
This now makes the kernel-doc script realize that the return value is
not documented. Please also add a : after the Returns on the last line
--
pw-bot: cr
Powered by blists - more mailing lists