]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: fix fall through in sandbox_flash_bulk()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 06:24:52 +0000 (08:24 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Apr 2023 17:30:17 +0000 (11:30 -0600)
commit159d6bf720a663b22f291dfbba337392a771d59a
treea2741176616e8f96dba69627437409bed1d3454c
parentc9c2c95d4cd27fe0cd41fe13a863899d268f973c
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>
drivers/usb/emul/sandbox_flash.c