diff mbox series

[01/15] w1: ds2408: drop kerneldoc annotation

Message ID 20230415104304.104134-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State New, archived
Headers show
Series [01/15] w1: ds2408: drop kerneldoc annotation | expand

Commit Message

Krzysztof Kozlowski April 15, 2023, 10:42 a.m. UTC
Drop kerneldoc annotation from comment which is not a kerneldoc to fix:

  w1_ds2408.c:210: warning: This comment starts with '/**', but isn't a kernel-doc comment

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/w1/slaves/w1_ds2408.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Randy Dunlap April 15, 2023, 4:07 p.m. UTC | #1
On 4/15/23 03:42, Krzysztof Kozlowski wrote:
> Drop kerneldoc annotation from comment which is not a kerneldoc to fix:
> 
>   w1_ds2408.c:210: warning: This comment starts with '/**', but isn't a kernel-doc comment
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

thanks.

> ---
>  drivers/w1/slaves/w1_ds2408.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/w1/slaves/w1_ds2408.c b/drivers/w1/slaves/w1_ds2408.c
> index ad102c577122..7fa911989193 100644
> --- a/drivers/w1/slaves/w1_ds2408.c
> +++ b/drivers/w1/slaves/w1_ds2408.c
> @@ -206,7 +206,7 @@ static ssize_t output_write(struct file *filp, struct kobject *kobj,
>  }
>  
>  
> -/**
> +/*
>   * Writing to the activity file resets the activity latches.
>   */
>  static ssize_t activity_write(struct file *filp, struct kobject *kobj,
diff mbox series

Patch

diff --git a/drivers/w1/slaves/w1_ds2408.c b/drivers/w1/slaves/w1_ds2408.c
index ad102c577122..7fa911989193 100644
--- a/drivers/w1/slaves/w1_ds2408.c
+++ b/drivers/w1/slaves/w1_ds2408.c
@@ -206,7 +206,7 @@  static ssize_t output_write(struct file *filp, struct kobject *kobj,
 }
 
 
-/**
+/*
  * Writing to the activity file resets the activity latches.
  */
 static ssize_t activity_write(struct file *filp, struct kobject *kobj,