commit | 8e6294f71b056cf9296bb37dc56ea59deecd3628 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Thu Mar 27 15:33:11 2025 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 08 16:23:51 2025 -0600 |
tree | aeb5d9d113feb54d7acce875ff19eb98b7b67ba5 | |
parent | a50e5c6372d0e01e37b70cd759da1b6255d3a1e1 [diff] |
cmd: pmic: annotate switch/case fallthrough 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 option is enabled. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Tom Rini <trini@konsulko.com>