Re: [PATCH 14/15] mmc: host: cqhci: Demote faux kerneldoc header down to basic comment block
From: Adrian Hunter
Date: Thu Jul 02 2020 - 02:44:02 EST
On 1/07/20 3:47 pm, Lee Jones wrote:
> cqhci_host_alloc_tdl()'s function header is the only one in
> kerneldoc format. Which seems odd as it's not part of an
> external API and isn't referenced anywhere else. Seeing as
> there has also been no attempt to describe the expected
> function arguments either, we're going to assume that this is
> not actually a bona fide kerneldoc use-case.
>
> Fixes the following W=1 kernel build warning:
>
> drivers/mmc/host/cqhci.c:163: warning: Function parameter or member 'cq_host' not described in 'cqhci_host_alloc_tdl'
>
> Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> Cc: Ritesh Harjani <riteshh@xxxxxxxxxxxxxx>
> Cc: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
> Cc: Venkat Gopalakrishnan <venkatg@xxxxxxxxxxxxxx>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
Acked-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> ---
> drivers/mmc/host/cqhci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/cqhci.c b/drivers/mmc/host/cqhci.c
> index 75934f3c117eb..8cc277b4ffe9e 100644
> --- a/drivers/mmc/host/cqhci.c
> +++ b/drivers/mmc/host/cqhci.c
> @@ -144,7 +144,7 @@ static void cqhci_dumpregs(struct cqhci_host *cq_host)
> CQHCI_DUMP(": ===========================================\n");
> }
>
> -/**
> +/*
> * The allocated descriptor table for task, link & transfer descritors
> * looks like:
> * |----------|
>