Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Randy Dunlap and committed by
Jakub Kicinski
c69855ad 425e080a

+4 -2
+4 -2
include/linux/atmdev.h
··· 309 309 310 310 /** 311 311 * register_atm_ioctl - register handler for ioctl operations 312 + * @ioctl: ioctl handler to register 312 313 * 313 314 * Special (non-device) handlers of ioctl's should 314 315 * register here. If you're a normal device, you should 315 316 * set .ioctl in your atmdev_ops instead. 316 317 */ 317 - void register_atm_ioctl(struct atm_ioctl *); 318 + void register_atm_ioctl(struct atm_ioctl *ioctl); 318 319 319 320 /** 320 321 * deregister_atm_ioctl - remove the ioctl handler 322 + * @ioctl: ioctl handler to deregister 321 323 */ 322 - void deregister_atm_ioctl(struct atm_ioctl *); 324 + void deregister_atm_ioctl(struct atm_ioctl *ioctl); 323 325 324 326 325 327 /* register_atmdevice_notifier - register atm_dev notify events