mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03: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:
committed by
Simon Glass
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;
|
||||
|
||||
Reference in New Issue
Block a user