projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4ed6b
)
usb: gadget: missing fallthrough in composite_setup()
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 07:06:55 +0000
(09:06 +0200)
committer
Marek Vasut
<marex@denx.de>
Mon, 3 Apr 2023 22:33:32 +0000
(
00:33
+0200)
Add a missing fallthrough macro. This fixes a -Wimplicit-fallthrough
warning.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
drivers/usb/gadget/composite.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/composite.c
b/drivers/usb/gadget/composite.c
index 2a309e624e10784fc0aa461d06384d0151fcf3ad..04b85419931e4a9dcefedf672fcbf1cbc3435557 100644
(file)
--- a/
drivers/usb/gadget/composite.c
+++ b/
drivers/usb/gadget/composite.c
@@
-1068,7
+1068,7
@@
composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
if (!gadget_is_dualspeed(gadget) ||
gadget->speed >= USB_SPEED_SUPER)
break;
-
+ fallthrough;
case USB_DT_CONFIG:
value = config_desc(cdev, w_value);
if (value >= 0)