Re: [PATCH 16/18] cmd: pmic: annotate switch/case fallthrough

2025-03-31 Thread Tom Rini
On Thu, Mar 27, 2025 at 03:33:11PM +, Andre Przywara wrote: > The argument parsing code in the pmic command uses an implicit switch/case > fallthrough to handle the common part of having one or two arguments. > > Add our "fallthrough;" statement-like macro before the second branch in > the pa

[PATCH 16/18] cmd: pmic: annotate switch/case fallthrough

2025-03-27 Thread Andre Przywara
The argument parsing code in the pmic command uses an implicit switch/case fallthrough to handle the common part of having one or two arguments. Add our "fallthrough;" statement-like macro before the second branch in the parsing code, to avoid a warning when GCC's -Wimplicit-fallthrough warning op