commit | 252d7d381d5f3f03a6772d39b86a552e42be1a99 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Thu Mar 27 15:33:02 2025 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 08 16:23:51 2025 -0600 |
tree | abfe22e3012533b6353dc49e10cba0004e7f60f9 | |
parent | 1e465ae4513b1e91f6b94d4ae4a3bb0d854a4cd0 [diff] |
net: sun8i-emac: annotate fallthrough The Allwinner sun8i EMAC driver uses an implicit switch/case fallthrough when setting up the MAC/PHY communication protocol, to handle the case when RMII is requested, but would not be supported by the hardware. Add our "fallthrough;" statement-like macro before the default branch in sun8i_emac_set_syscon(), to avoid a warning when GCC's -Wimplicit-fallthrough warning option is enabled. Signed-off-by: Andre Przywara <andre.przywara@arm.com>