* [PATCH v3] firewire: init_ohci1394_dma: use correct function names in comments
@ 2023-04-10 1:13 Randy Dunlap
2023-04-11 0:05 ` Takashi Sakamoto
2023-04-20 16:04 ` Takashi Sakamoto
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2023-04-10 1:13 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Stefan Richter, linux1394-devel, Andrew Morton,
Takashi Sakamoto
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
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: linux1394-devel@lists.sourceforge.net
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
---
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(-)
diff -- a/drivers/firewire/init_ohci1394_dma.c b/drivers/firewire/init_ohci1394_dma.c
--- a/drivers/firewire/init_ohci1394_dma.c
+++ b/drivers/firewire/init_ohci1394_dma.c
@@ -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)
{
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3] firewire: init_ohci1394_dma: use correct function names in comments
2023-04-10 1:13 [PATCH v3] firewire: init_ohci1394_dma: use correct function names in comments Randy Dunlap
@ 2023-04-11 0:05 ` Takashi Sakamoto
2023-04-20 16:04 ` Takashi Sakamoto
1 sibling, 0 replies; 3+ messages in thread
From: Takashi Sakamoto @ 2023-04-11 0:05 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, Stefan Richter, linux1394-devel, Andrew Morton
On Sun, Apr 09, 2023 at 06:13:06PM -0700, Randy Dunlap wrote:
> 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
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
> Cc: linux1394-devel@lists.sourceforge.net
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
> ---
> 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(-)
Thank you to remind it to me.
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
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.
> diff -- a/drivers/firewire/init_ohci1394_dma.c b/drivers/firewire/init_ohci1394_dma.c
> --- a/drivers/firewire/init_ohci1394_dma.c
> +++ b/drivers/firewire/init_ohci1394_dma.c
> @@ -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)
> {
Kind regards
Takashi Sakamoto
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3] firewire: init_ohci1394_dma: use correct function names in comments
2023-04-10 1:13 [PATCH v3] firewire: init_ohci1394_dma: use correct function names in comments Randy Dunlap
2023-04-11 0:05 ` Takashi Sakamoto
@ 2023-04-20 16:04 ` Takashi Sakamoto
1 sibling, 0 replies; 3+ messages in thread
From: Takashi Sakamoto @ 2023-04-20 16:04 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, Stefan Richter, linux1394-devel, Andrew Morton
On Sun, Apr 09, 2023 at 06:13:06PM -0700, Randy Dunlap wrote:
> 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
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
> Cc: linux1394-devel@lists.sourceforge.net
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
> ---
> 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(-)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-20 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 1:13 [PATCH v3] firewire: init_ohci1394_dma: use correct function names in comments Randy Dunlap
2023-04-11 0:05 ` Takashi Sakamoto
2023-04-20 16:04 ` Takashi Sakamoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox