Skip to contentSkip to conversation

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

PATCH Applied Krzysztof Wilczyński 3 participants 3 messages May 9, 2021 – Jun 3, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: xgene: Fix a non-compliant kernel-doc

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.

---
 drivers/pci/controller/pci-xgene.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/pci-xgene.c +1 -1
index 7f503dd4ff81..8dc5140dd80d 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
-/**
+/*
  * APM X-Gene PCIe Driver
  *
  * Copyright (c) 2014 Applied Micro Circuits Corporation.
Signature · 1 line
2.31.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Krzysztof Wilczyński

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.

Thanks.

Quoted 16 lines
---
 drivers/pci/controller/pci-xgene.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/pci-xgene.c +1 -1
index 7f503dd4ff81..8dc5140dd80d 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
-/**
+/*
  * APM X-Gene PCIe Driver
  *
  * Copyright (c) 2014 Applied Micro Circuits Corporation.
Signature · 1 line
~Randy
#2 lore raw
In reply to Krzysztof Wilczyński
Quoted 6 lines · Krzysztof Wilczyński

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