Re: [PATCH 15/18] mtd: rawnand: nand_base: annotate switch/case fallthrough

2025-03-28 Thread Michael Nazzareno Trimarchi
On Thu, Mar 27, 2025 at 4:33 PM Andre Przywara wrote: > 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

[PATCH 15/18] mtd: rawnand: nand_base: annotate switch/case fallthrough

2025-03-27 Thread Andre Przywara
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-fallth