diff mbox series

PCI: xgene: Fix a non-compliant kernel-doc

Message ID 20210509030237.368540-1-kw@linux.com
State New
Headers show
Series PCI: xgene: Fix a non-compliant kernel-doc | expand

Commit Message

Krzysztof Wilczyński May 9, 2021, 3:02 a.m. UTC
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@linux.com>
---
 drivers/pci/controller/pci-xgene.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Randy Dunlap May 9, 2021, 4:38 a.m. UTC | #1
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@linux.com>

Acked-by: Randy Dunlap <rdunlap@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.
>
Lorenzo Pieralisi June 3, 2021, 4:10 p.m. UTC | #2
On Sun, 9 May 2021 03:02:37 +0000, 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.

Applied to pci/xgene, thanks!

[1/1] PCI: xgene: Fix a non-compliant kernel-doc
      https://git.kernel.org/lpieralisi/pci/c/1e586966e9

Thanks,
Lorenzo
diff mbox series

Patch

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.