Re: [PATCH] staging: most: dim2: fix non-kernel-doc comment in errors.h
From: Julia Lawall
Date: Mon Nov 02 2026 - 03:13:39 EST
On Mon, 2 Nov 2026, Maria Sheikh wrote:
> The comment above enum dim_errors_t starts with "/**" but it is not in
> kernel-doc format, which scripts/kernel-doc -none reports as a warning.
> Use a regular comment instead.
>
> Found using scripts/kernel-doc -none
>
> Signed-off-by: Maria Sheikh <mariasheikh812@xxxxxxxxx>
> ---
> drivers/staging/most/dim2/errors.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/most/dim2/errors.h b/drivers/staging/most/dim2/errors.h
> index d707daaac3b6..af909560aa93 100644
> --- a/drivers/staging/most/dim2/errors.h
> +++ b/drivers/staging/most/dim2/errors.h
> @@ -9,7 +9,7 @@
> #ifndef _MOST_DIM_ERRORS_H
> #define _MOST_DIM_ERRORS_H
>
> -/**
> +/*
> * MOST DIM errors.
> */
If it's going to be a regular comment it doesn't need to be on three
lines.
Maybe it could be made into a kerneldoc comment?
julia
> enum dim_errors_t {
> --
> 2.53.0
>
>
>