diff options
author | Heinrich Schuchardt | 2023-04-01 09:38:05 +0200 |
---|---|---|
committer | Simon Glass | 2023-04-28 11:30:17 -0600 |
commit | 278c9b22ba109a0c5aa946905dcd83caea85090f (patch) | |
tree | a8ba4e3332d2b139385f231b3eb31f6d150d7778 | |
parent | 42175a70d1e85bf0e7949b3e27633fac0aa8d4b1 (diff) |
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>
-rw-r--r-- | drivers/mtd/spi/sandbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi/sandbox.c b/drivers/mtd/spi/sandbox.c index 3c01e3b41c8..4fe547171a5 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; |