Re: [PATCH] ext2: Fix some kernel-doc warnings

From: Randy Dunlap
Date: Fri Nov 11 2022 - 01:47:06 EST




On 11/10/22 22:43, Bo Liu wrote:
> The current code provokes some kernel-doc warnings:
> fs/ext2/dir.c:417: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
>
> Signed-off-by: Bo Liu <liubo03@xxxxxxxxxx>


Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> fs/ext2/dir.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c
> index 8f597753ac12..27873733ed8c 100644
> --- a/fs/ext2/dir.c
> +++ b/fs/ext2/dir.c
> @@ -413,7 +413,7 @@ struct ext2_dir_entry_2 *ext2_find_entry (struct inode *dir,
> return de;
> }
>
> -/**
> +/*
> * Return the '..' directory entry and the page in which the entry was found
> * (as a parameter - p).
> *

--
~Randy