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