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'
Unified · Split
| @@ -309,17 +309,19 @@ struct atm_ioctl { · 308 unmodified lines | ||
| 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 |