mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-30 08:03:32 +08:00
sandbox: spi: sandbox_sf_process_cmd() missing fallthrough
Add a missing fallthrough macro to avoid a -Wimplicit-fallthrough warning. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
42175a70d1
commit
278c9b22ba
@ -248,6 +248,7 @@ static int sandbox_sf_process_cmd(struct sandbox_spi_flash *sbsf, const u8 *rx,
|
||||
break;
|
||||
case SPINOR_OP_READ_FAST:
|
||||
sbsf->pad_addr_bytes = 1;
|
||||
fallthrough;
|
||||
case SPINOR_OP_READ:
|
||||
case SPINOR_OP_PP:
|
||||
sbsf->state = SF_ADDR;
|
||||
|
Loading…
Reference in New Issue
Block a user