git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42175a7
)
sandbox: spi: sandbox_sf_process_cmd() missing fallthrough
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 07:38:05 +0000
(09:38 +0200)
committer
Simon Glass
<sjg@chromium.org>
Fri, 28 Apr 2023 17:30:17 +0000
(11:30 -0600)
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>
drivers/mtd/spi/sandbox.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/sandbox.c
b/drivers/mtd/spi/sandbox.c
index
3c01e3b
..
4fe5471
100644
(file)
--- 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;