Skip to contentSkip to conversation

MIPS: ath25: clean up non-kernel-doc comment warning

PATCH Applied Randy Dunlap 4 participants 4 messages Aug 23, 2022 – Sep 12, 2022 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: ath25: clean up non-kernel-doc comment warning

Don't use "/**" kernel-doc notation for comments that are not in kernel-doc format.

Eliminates one warning:

arch/mips/pci/pci-ar2315.c:6: warning: This comment starts with
'/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Both AR2315 and AR2316 chips have PCI interface unit, which supports DMA

Cc Aditya Srivastava <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Sergey Ryazanov <[email protected]>

---

Fixes 3ed7a2a702dc ("MIPS: ath25: add AR2315 PCI host controller driver")

but backport is not needed.

 arch/mips/pci/pci-ar2315.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/pci/pci-ar2315.c +1 -1
@@ -2,7 +2,7 @@
 /*
  */
 
-/**
+/*
  * Both AR2315 and AR2316 chips have PCI interface unit, which supports DMA
  * and interrupt. PCI interface supports MMIO access method, but does not
  * seem to support I/O ports.
Acked-by on v1 1/1
#1 lore raw
Quoted 16 lines · Randy Dunlap

Don't use "/**" kernel-doc notation for comments that are not in kernel-doc format.

Eliminates one warning:

arch/mips/pci/pci-ar2315.c:6: warning: This comment starts with
'/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Both AR2315 and AR2316 chips have PCI interface unit, which supports DMA

Cc Aditya Srivastava <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Sergey Ryazanov <[email protected]>
Quoted 3 lines

---

Fixes 3ed7a2a702dc ("MIPS: ath25: add AR2315 PCI host controller driver")

but backport is not needed.

Randy, Bagas, which one of these patches should be applied:
* https://patchwork.kernel.org/project/linux-mips/patch/[email protected]/
* https://patchwork.kernel.org/project/linux-mips/patch/[email protected]/

#2 lore raw
Quoted 5 lines · Sergey Ryazanov

Randy, Bagas, which one of these patches should be applied:
* https://patchwork.kernel.org/project/linux-mips/patch/[email protected]/
* https://patchwork.kernel.org/project/linux-mips/patch/[email protected]/

Hi Sergey, thanks for replying.

Oh, I don't see Randy's patch, since it wasn't CCed to linux-doc list. I prefer to choose Randy's one, because the description wording is clearer.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer Applied
#3 lore raw
In reply to Randy Dunlap
Quoted 26 lines · Randy Dunlap

Don't use "/**" kernel-doc notation for comments that are not in kernel-doc format.

Eliminates one warning:

arch/mips/pci/pci-ar2315.c:6: warning: This comment starts with
'/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Both AR2315 and AR2316 chips have PCI interface unit, which supports DMA

Cc Aditya Srivastava <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Sergey Ryazanov <[email protected]>

---

Fixes 3ed7a2a702dc ("MIPS: ath25: add AR2315 PCI host controller driver")

but backport is not needed.

 arch/mips/pci/pci-ar2315.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

arch/mips/pci/pci-ar2315.c line 8

Quoted 8 lines
arch/mips/pci/pci-ar2315.c +1 -1
@@ -2,7 +2,7 @@
 /*
  */
 
-/**
+/*
  * Both AR2315 and AR2316 chips have PCI interface unit, which supports DMA
  * and interrupt. PCI interface supports MMIO access method, but does not
  * seem to support I/O ports.

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]