mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 21:54:37 +08:00
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 <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c9c2c95d4c
commit
159d6bf720
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user