mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case SANDBOX_FLASH_EP_IN:
|
case SANDBOX_FLASH_EP_IN:
|
||||||
switch (info->phase) {
|
switch (info->phase) {
|
||||||
case SCSIPH_DATA:
|
case SCSIPH_DATA:
|
||||||
|
|
Loading…
Add table
Reference in a new issue