From: Lee Jones Date: Fri, 3 Jul 2020 17:41:48 +0000 (+0100) Subject: usb: gadget: udc: dummy_hcd: Repair misspelled function argument 'dummy_hcd' X-Git-Tag: v5.10.7~1952^2~142 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66f84901b0a70c4436e31c1a2359a862a2177fb8;p=platform%2Fkernel%2Flinux-rpi.git usb: gadget: udc: dummy_hcd: Repair misspelled function argument 'dummy_hcd' An attempt was made to document the functions in 'dummy_hcd', but a simple spelling mistake was made. Fixes the following W=1 kernel build warning(s): drivers/usb/gadget/udc/dummy_hcd.c:1597: warning: Function parameter or member 'dum_hcd' not described in 'handle_control_request' drivers/usb/gadget/udc/dummy_hcd.c:1597: warning: Excess function parameter 'dum' description in 'handle_control_request' Cc: Felipe Balbi Cc: Andrey Konovalov Cc: Alan Stern Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20200703174148.2749969-31-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc/dummy_hcd.c index 425a979..de65d42 100644 --- a/drivers/usb/gadget/udc/dummy_hcd.c +++ b/drivers/usb/gadget/udc/dummy_hcd.c @@ -1581,7 +1581,7 @@ static struct dummy_ep *find_endpoint(struct dummy *dum, u8 address) /** * handle_control_request() - handles all control transfers - * @dum: pointer to dummy (the_controller) + * @dum_hcd: pointer to dummy (the_controller) * @urb: the urb request to handle * @setup: pointer to the setup data for a USB device control * request