mirror of https://github.com/torvalds/linux.git
atm: atmdev: add function parameter names and description
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> Link: https://patch.msgid.link/20260228220845.2978547-1-rdunlap@infradead.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
425e080a1c
commit
c69855ada2
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue