firewire: init_ohci1394_dma: use correct function names in comments
PATCH v3 1/1 firewire: init_ohci1394_dma: use correct function names in comments
Prevent kernel-doc complaints by using the correct function names in kernel-doc comments:
drivers/firewire/init_ohci1394_dma.c:258: warning: expecting prototype for debug_init_ohci1394_dma(). Prototype was for init_ohci1394_dma_on_all_controllers() instead drivers/firewire/init_ohci1394_dma.c:289: warning: expecting prototype for setup_init_ohci1394_early(). Prototype was for setup_ohci1394_dma() instead
---
v2: rebase/resend, add note to Andrew
v3: add Takashi-san
drivers/firewire/init_ohci1394_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/firewire/init_ohci1394_dma.c +2 -2
@@ -251,7 +251,7 @@ static inline void __init init_ohci1394_ }/** -* debug_init_ohci1394_dma - scan for OHCI1394 controllers and init DMA on them +* init_ohci1394_dma_on_all_controllers - scan for OHCI1394 controllers and init DMA on them * Scans the whole PCI space for OHCI1394 controllers and inits DMA on them */ void __init init_ohci1394_dma_on_all_controllers (void )
@@ -283,7 +283,7 @@ void __init init_ohci1394_dma_on_all_con }/** -* setup_init_ohci1394_early - enables early OHCI1394 DMA initialization +* setup_ohci1394_dma - enables early OHCI1394 DMA initialization */ static int __init setup_ohci1394_dma (char *opt) {
Quoted 11 lines · Randy Dunlap
Prevent kernel-doc complaints by using the correct function names in kernel-doc comments:
drivers/firewire/init_ohci1394_dma.c:258: warning: expecting prototype fordebug_init_ohci1394_dma(). Prototype was forinit_ohci1394_dma_on_all_controllers()insteaddrivers/firewire/init_ohci1394_dma.c:289: warning: expecting prototype forsetup_init_ohci1394_early(). Prototype was forsetup_ohci1394_dma()insteadSigned-off-by Randy Dunlap <[email protected]>Cc Stefan Richter <[email protected]>Cc Andrew Morton <[email protected]>Cc Takashi Sakamoto <[email protected]>
Quoted 6 lines
---
v2: rebase/resend, add note to Andrew
v3: add Takashi-sandrivers/firewire/init_ohci1394_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thank you to remind it to me.
By the way, I got enough access permission to linux1394.git repository and I'm preparing it for maintenance work (not done yet).
* https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git/
After finishing the preparation (e.g. joining to linux-next integration), I'll apply your patch and tell it to you, within the week.
Quoted 13 lines
diff --
a/drivers/firewire/init_ohci1394_dma.cb/drivers/firewire/init_ohci1394_dma.cdrivers/firewire/init_ohci1394_dma.c +1
-1@@ -251,7 +251,7 @@ static inline void __init init_ohci1394_ }/** -* debug_init_ohci1394_dma - scan for OHCI1394 controllers and init DMA on them +* init_ohci1394_dma_on_all_controllers - scan for OHCI1394 controllers and init DMA on them * Scans the whole PCI space for OHCI1394 controllers and inits DMA on them */ void __init init_ohci1394_dma_on_all_controllers (void )
drivers/firewire/init_ohci1394_dma.c void __init init_ohci1394_dma_on_all_con · line 289
Quoted 8 lines
drivers/firewire/init_ohci1394_dma.c +1
-1@@ -283,7 +283,7 @@ void __init init_ohci1394_dma_on_all_con }/** -* setup_init_ohci1394_early - enables early OHCI1394 DMA initialization +* setup_ohci1394_dma - enables early OHCI1394 DMA initialization */ static int __init setup_ohci1394_dma (char *opt) {
Kind regards
Takashi Sakamoto
Takashi Sakamoto
maintainerQuoted 11 lines · Randy Dunlap
Prevent kernel-doc complaints by using the correct function names in kernel-doc comments:
drivers/firewire/init_ohci1394_dma.c:258: warning: expecting prototype fordebug_init_ohci1394_dma(). Prototype was forinit_ohci1394_dma_on_all_controllers()insteaddrivers/firewire/init_ohci1394_dma.c:289: warning: expecting prototype forsetup_init_ohci1394_early(). Prototype was forsetup_ohci1394_dma()insteadSigned-off-by Randy Dunlap <[email protected]>Cc Stefan Richter <[email protected]>Cc Andrew Morton <[email protected]>Cc Takashi Sakamoto <[email protected]>
Quoted 6 lines
---
v2: rebase/resend, add note to Andrew
v3: add Takashi-sandrivers/firewire/init_ohci1394_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
The patch is applied to for-next branch for v6.4 kernel:
* https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git/
You can see the patch in linux-next integration as well.
Thanks for your patience
Takashi Sakamoto