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.

usb: Reorganize kerneldoc parameter names

Reorganize kerneldoc parameter names to match the parameter
order in the function header.

Problems identified using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Link: https://lore.kernel.org/r/20240930112121.95324-19-Julia.Lawall@inria.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Julia Lawall and committed by
Greg Kroah-Hartman
d138834b 47263478

+2 -2
+2 -2
drivers/usb/gadget/config.c
··· 57 57 * usb_gadget_config_buf - builts a complete configuration descriptor 58 58 * @config: Header for the descriptor, including characteristics such 59 59 * as power requirements and number of interfaces. 60 - * @desc: Null-terminated vector of pointers to the descriptors (interface, 61 - * endpoint, etc) defining all functions in this device configuration. 62 60 * @buf: Buffer for the resulting configuration descriptor. 63 61 * @length: Length of buffer. If this is not big enough to hold the 64 62 * entire configuration descriptor, an error code will be returned. 63 + * @desc: Null-terminated vector of pointers to the descriptors (interface, 64 + * endpoint, etc) defining all functions in this device configuration. 65 65 * 66 66 * This copies descriptors into the response buffer, building a descriptor 67 67 * for that configuration. It returns the buffer length or a negative