diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-04-01 09:06:55 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2023-04-04 00:33:32 +0200 |
commit | 063359444c251163cf0e4159355bc545b486d01d (patch) | |
tree | ac299466e9e92de875bfcf0df10473cacaefd83e | |
parent | fd4ed6b7e83ec3aea9a2ce21baea8ca9676f40dd (diff) |
usb: gadget: missing fallthrough in composite_setup()
Add a missing fallthrough macro. This fixes a -Wimplicit-fallthrough
warning.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r-- | drivers/usb/gadget/composite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 2a309e624e..04b8541993 100644 --- 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) |