diff mbox series

watch_queue: rectify kernel-doc for init_watch()

Message ID 161373161298.2157082.10755433120775444271.stgit@warthog.procyon.org.uk (mailing list archive)
State New
Headers show
Series watch_queue: rectify kernel-doc for init_watch() | expand

Commit Message

David Howells Feb. 19, 2021, 10:46 a.m. UTC
From: Lukas Bulwahn <lukas.bulwahn@gmail.com>

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@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/lkml/20210125161409.8478-1-lukas.bulwahn@gmail.com
---

 kernel/watch_queue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jarkko Sakkinen Feb. 19, 2021, 5:47 p.m. UTC | #1
On Fri, Feb 19, 2021 at 10:46:53AM +0000, David Howells wrote:
> From: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> 
> 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@gmail.com>
> Signed-off-by: David Howells <dhowells@redhat.com>
> Link: https://lore.kernel.org/lkml/20210125161409.8478-1-lukas.bulwahn@gmail.com
> ---
> 
>  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@kernel.org>

/Jarkko
diff mbox series

Patch

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.
  *