diff mbox series

[2/8] block: Convert blk_invalidate_devt() header into a non-kernel-doc header

Message ID 20190531000053.64053-3-bvanassche@acm.org (mailing list archive)
State New, archived
Headers show
Series Improve block layer function documentation | expand

Commit Message

Bart Van Assche May 31, 2019, midnight UTC
This patch avoids that the kernel-doc tool warns about this function
header when building with W=1.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 block/genhd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Chaitanya Kulkarni May 31, 2019, 2 a.m. UTC | #1
Looks good.

Reviewed-by: Chaitanya Kulkarni <chiatanya.kulkarni@wdc.com>

On 5/30/19 5:01 PM, Bart Van Assche wrote:
> This patch avoids that the kernel-doc tool warns about this function
> header when building with W=1.
> 
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
>   block/genhd.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/block/genhd.c b/block/genhd.c
> index ad6826628e79..24654e1d83e6 100644
> --- a/block/genhd.c
> +++ b/block/genhd.c
> @@ -532,8 +532,8 @@ void blk_free_devt(dev_t devt)
>   	}
>   }
>   
> -/**
> - *	We invalidate devt by assigning NULL pointer for devt in idr.
> +/*
> + * We invalidate devt by assigning NULL pointer for devt in idr.
>    */
>   void blk_invalidate_devt(dev_t devt)
>   {
>
diff mbox series

Patch

diff --git a/block/genhd.c b/block/genhd.c
index ad6826628e79..24654e1d83e6 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -532,8 +532,8 @@  void blk_free_devt(dev_t devt)
 	}
 }
 
-/**
- *	We invalidate devt by assigning NULL pointer for devt in idr.
+/*
+ * We invalidate devt by assigning NULL pointer for devt in idr.
  */
 void blk_invalidate_devt(dev_t devt)
 {