Re: [PATCH] watch_queue: rectify kernel-doc for init_watch()

From: Jarkko Sakkinen
Date: Fri Feb 19 2021 - 12:48:30 EST


On Fri, Feb 19, 2021 at 10:46:53AM +0000, David Howells wrote:
> From: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>
>
> The command './scripts/kernel-doc -none kernel/watch_queue.c'
> reported a mismatch in the kernel-doc of init_watch().
>
> Rectify the kernel-doc, such that no issues remain for watch_queue.c.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> Link: https://lore.kernel.org/lkml/20210125161409.8478-1-lukas.bulwahn@xxxxxxxxx
> ---
>
> kernel/watch_queue.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/watch_queue.c b/kernel/watch_queue.c
> index 0ef8f65bd2d7..9c9eb20dd2c5 100644
> --- a/kernel/watch_queue.c
> +++ b/kernel/watch_queue.c
> @@ -413,7 +413,7 @@ static void put_watch(struct watch *watch)
> }
>
> /**
> - * init_watch_queue - Initialise a watch
> + * init_watch - Initialise a watch
> * @watch: The watch to initialise.
> * @wqueue: The queue to assign.
> *
>
>
>

Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>

/Jarkko