Re: [PATCH -next] RDMA/irdma: Fix one kernel-doc comment

From: Randy Dunlap
Date: Sun Jul 30 2023 - 22:18:56 EST




On 7/30/23 18:59, Yang Li wrote:
> Remove description of @free_hwcqp in irdma_destroy_cqp().
> to silence the warning:
>
> drivers/infiniband/hw/irdma/hw.c:580: warning: Excess function parameter 'free_hwcqp' description in 'irdma_destroy_cqp'
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6028
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> drivers/infiniband/hw/irdma/hw.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/irdma/hw.c b/drivers/infiniband/hw/irdma/hw.c
> index eaf196985f49..7cbdd5433dba 100644
> --- a/drivers/infiniband/hw/irdma/hw.c
> +++ b/drivers/infiniband/hw/irdma/hw.c
> @@ -571,7 +571,6 @@ static void irdma_destroy_irq(struct irdma_pci_f *rf,
> /**
> * irdma_destroy_cqp - destroy control qp
> * @rf: RDMA PCI function
> - * @free_hwcqp: 1 if hw cqp should be freed
> *
> * Issue destroy cqp request and
> * free the resources associated with the cqp

--
~Randy