[PATCH] PCI: xgene: Fix a non-compliant kernel-doc

Randy Dunlap rdunlap at infradead.org
Sat May 8 21:38:34 PDT 2021


On 5/8/21 8:02 PM, Krzysztof Wilczyński wrote:
> Correct a non-compliant kernel-doc at the top of the pci-xgene.c file,
> and resolve build time warning related to kernel-doc:
> 
>   drivers/pci/controller/pci-xgene.c:27: warning: expecting prototype for APM X(). Prototype was for PCIECORE_CTLANDSTATUS() instead
> 
> No change to functionality intended.
> 
> Signed-off-by: Krzysztof Wilczyński <kw at linux.com>

Acked-by: Randy Dunlap <rdunlap at infradead.org>

Thanks.

> ---
>  drivers/pci/controller/pci-xgene.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/controller/pci-xgene.c b/drivers/pci/controller/pci-xgene.c
> index 7f503dd4ff81..8dc5140dd80d 100644
> --- a/drivers/pci/controller/pci-xgene.c
> +++ b/drivers/pci/controller/pci-xgene.c
> @@ -1,5 +1,5 @@
>  // SPDX-License-Identifier: GPL-2.0+
> -/**
> +/*
>   * APM X-Gene PCIe Driver
>   *
>   * Copyright (c) 2014 Applied Micro Circuits Corporation.
> 


-- 
~Randy




More information about the linux-arm-kernel mailing list