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

Message ID 20190531000053.64053-3-bvanassche@acm.org
State New
Headers show
Series
  • Improve block layer function documentation
Related show

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)
>   {
>

Patch
diff mbox series

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)
 {