diff options
author | Andre Przywara <andre.przywara@arm.com> | 2025-03-27 15:33:10 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-08 16:23:51 -0600 |
commit | 3f61113c276ffe52380cec159b47e6024249ee2d (patch) | |
tree | 414da078b67a3bac92775177d6cb151fb0b9b9d3 /tools/u_boot_pylib/test_util.py | |
parent | 452dfcc3b461c1bfbc2126623f42f551000a9ca3 (diff) |
mtd: rawnand: nand_base: annotate switch/case fallthrough
The raw NAND flash code uses an implicit switch/case fallthrough to
share code when dealing with different ECC modes, and also when handling
some read command.
Add our "fallthrough;" statement-like macro before the respective labels
in the NAND code, to avoid a warning when GCC's -Wimplicit-fallthrough
warning option is enabled.
This copies the fallthrough annotations that the original kernel code
gained, before this function got refactored there.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Michael Trimrachi <michael@amarulasolutions.com>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions