public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] atm: atmdev: add function parameter names and description
@ 2026-02-28 22:08 Randy Dunlap
  2026-03-03  4:47 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-02-28 22:08 UTC (permalink / raw)
  To: netdev
  Cc: Randy Dunlap, Chas Williams, linux-atm-general, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman

kernel-doc reports function parameters not described for parameters
that are not named. Add parameter names for these functions and then
describe the function parameters in kernel-doc format.

Fixes these warnings:
Warning: include/linux/atmdev.h:316 function parameter '' not described
 in 'register_atm_ioctl'
Warning: include/linux/atmdev.h:321 function parameter '' not described
 in 'deregister_atm_ioctl'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Chas Williams <3chas3@gmail.com>
Cc: linux-atm-general@lists.sourceforge.net
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Simon Horman <horms@kernel.org>

 include/linux/atmdev.h |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- linux-next-20260213.orig/include/linux/atmdev.h
+++ linux-next-20260213/include/linux/atmdev.h
@@ -309,17 +309,19 @@ struct atm_ioctl {
 
 /**
  * register_atm_ioctl - register handler for ioctl operations
+ * @ioctl: ioctl handler to register
  *
  * Special (non-device) handlers of ioctl's should
  * register here. If you're a normal device, you should
  * set .ioctl in your atmdev_ops instead.
  */
-void register_atm_ioctl(struct atm_ioctl *);
+void register_atm_ioctl(struct atm_ioctl *ioctl);
 
 /**
  * deregister_atm_ioctl - remove the ioctl handler
+ * @ioctl: ioctl handler to deregister
  */
-void deregister_atm_ioctl(struct atm_ioctl *);
+void deregister_atm_ioctl(struct atm_ioctl *ioctl);
 
 
 /* register_atmdevice_notifier - register atm_dev notify events

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net] atm: atmdev: add function parameter names and description
  2026-02-28 22:08 [PATCH net] atm: atmdev: add function parameter names and description Randy Dunlap
@ 2026-03-03  4:47 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-03-03  4:47 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: netdev, 3chas3, linux-atm-general, davem, edumazet, kuba, pabeni,
	horms

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 28 Feb 2026 14:08:45 -0800 you wrote:
> kernel-doc reports function parameters not described for parameters
> that are not named. Add parameter names for these functions and then
> describe the function parameters in kernel-doc format.
> 
> Fixes these warnings:
> Warning: include/linux/atmdev.h:316 function parameter '' not described
>  in 'register_atm_ioctl'
> Warning: include/linux/atmdev.h:321 function parameter '' not described
>  in 'deregister_atm_ioctl'
> 
> [...]

Here is the summary with links:
  - [net] atm: atmdev: add function parameter names and description
    https://git.kernel.org/netdev/net-next/c/c69855ada286

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-03  4:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-28 22:08 [PATCH net] atm: atmdev: add function parameter names and description Randy Dunlap
2026-03-03  4:47 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox