From: Heinrich Schuchardt Date: Sat, 1 Apr 2023 06:24:52 +0000 (+0200) Subject: sandbox: fix fall through in sandbox_flash_bulk() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=159d6bf720a663b22f291dfbba337392a771d59a;p=u-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 01ccc4bc17..7c5c1ab3de 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: