From: Heinrich Schuchardt Date: Sat, 1 Apr 2023 06:24:52 +0000 (+0200) Subject: sandbox: fix fall through in sandbox_flash_bulk() X-Git-Tag: v2023.07~73^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=159d6bf720a663b22f291dfbba337392a771d59a;p=platform%2Fkernel%2Fu-boot.git sandbox: fix fall through in sandbox_flash_bulk() Handling of SANDBOX_FLASH_EP_OUT should never fall through to SANDBOX_FLASH_EP_IN. This addresses a warning shown when compiling with -Wimplicit-fallthrough. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/drivers/usb/emul/sandbox_flash.c b/drivers/usb/emul/sandbox_flash.c index 01ccc4b..7c5c1ab 100644 --- a/drivers/usb/emul/sandbox_flash.c +++ b/drivers/usb/emul/sandbox_flash.c @@ -266,6 +266,7 @@ static int sandbox_flash_bulk(struct udevice *dev, struct usb_device *udev, default: break; } + break; case SANDBOX_FLASH_EP_IN: switch (info->phase) { case SCSIPH_DATA: