mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
usb: udc: lpc32xx: silence fall-through warning
Silence the following fall-through warning by adding a break statement: drivers/usb/gadget/udc/lpc32xx_udc.c:2230:3: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/20190821021627.GA2679@embeddedor Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
1 parent
d1abaeb3be
commit
3afa758cfb
1 file changed
+1
-1
@@ -2265,7 +2265,7 @@ static void udc_handle_ep0_setup(struct lpc32xx_udc *udc)
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case USB_REQ_SET_ADDRESS:
|
||||
if (reqtype == (USB_TYPE_STANDARD | USB_RECIP_DEVICE)) {
|
||||
|
||||
Reference in new issue
Block a user