From: Heinrich Schuchardt Date: Sat, 1 Apr 2023 07:38:05 +0000 (+0200) Subject: sandbox: spi: sandbox_sf_process_cmd() missing fallthrough X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=278c9b22ba109a0c5aa946905dcd83caea85090f;p=u-boot.git sandbox: spi: sandbox_sf_process_cmd() missing fallthrough Add a missing fallthrough macro to avoid a -Wimplicit-fallthrough warning. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/drivers/mtd/spi/sandbox.c b/drivers/mtd/spi/sandbox.c index 3c01e3b41c..4fe547171a 100644 --- a/drivers/mtd/spi/sandbox.c +++ b/drivers/mtd/spi/sandbox.c @@ -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;