From: Heinrich Schuchardt Date: Sat, 1 Apr 2023 07:06:55 +0000 (+0200) Subject: usb: gadget: missing fallthrough in composite_setup() X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~210^2~1 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=ab86f05d7c950824e9d9dcd65ac4df37bcaec3b4;p=uboot.git usb: gadget: missing fallthrough in composite_setup() Add a missing fallthrough macro. This fixes a -Wimplicit-fallthrough warning. Signed-off-by: Heinrich Schuchardt --- 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)