mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue