2023-01-17 07:26:27

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] dax: super.c: fix kernel-doc bad line warning

Convert an empty line to " *" to avoid a kernel-doc warning:

drivers/dax/super.c:478: warning: bad line:

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Vishal Verma <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: [email protected]
---
drivers/dax/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/drivers/dax/super.c b/drivers/dax/super.c
--- a/drivers/dax/super.c
+++ b/drivers/dax/super.c
@@ -475,7 +475,7 @@ EXPORT_SYMBOL_GPL(put_dax);
/**
* dax_holder() - obtain the holder of a dax device
* @dax_dev: a dax_device instance
-
+ *
* Return: the holder's data which represents the holder if registered,
* otherwize NULL.
*/


2023-01-25 20:30:12

by Dan Williams

[permalink] [raw]
Subject: RE: [PATCH] dax: super.c: fix kernel-doc bad line warning

Randy Dunlap wrote:
> Convert an empty line to " *" to avoid a kernel-doc warning:
>
> drivers/dax/super.c:478: warning: bad line:
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Dan Williams <[email protected]>
> Cc: Vishal Verma <[email protected]>
> Cc: Dave Jiang <[email protected]>
> Cc: [email protected]
> ---
> drivers/dax/super.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -- a/drivers/dax/super.c b/drivers/dax/super.c
> --- a/drivers/dax/super.c
> +++ b/drivers/dax/super.c
> @@ -475,7 +475,7 @@ EXPORT_SYMBOL_GPL(put_dax);
> /**
> * dax_holder() - obtain the holder of a dax device
> * @dax_dev: a dax_device instance
> -
> + *
> * Return: the holder's data which represents the holder if registered,
> * otherwize NULL.
> */

Looks good, applied.