diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-04-01 09:34:08 +0200 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2023-04-25 23:03:13 +0530 |
| commit | 24c27b3c6ceab7295d12cd2ae0a47cfe9c136ecc (patch) | |
| tree | ad6a58c65537ddaedf3c12eeb80367f0be84f062 /drivers | |
| parent | 0514227e19106ff15e0f42f24eedf2f1d8fce224 (diff) | |
mtd: spi-nor: missing fallthrough in set_4byte()
Add a missing fallthrough macro to avoid a -Wimplicit-fallthrough warning.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mtd/spi/spi-nor-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c index 83d7fe44ee1..f963ed026cc 100644 --- a/drivers/mtd/spi/spi-nor-core.c +++ b/drivers/mtd/spi/spi-nor-core.c @@ -669,6 +669,7 @@ static int set_4byte(struct spi_nor *nor, const struct flash_info *info, case SNOR_MFR_MICRON: /* Some Micron need WREN command; all will accept it */ need_wren = true; + fallthrough; case SNOR_MFR_ISSI: case SNOR_MFR_MACRONIX: case SNOR_MFR_WINBOND: |
