summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2025-03-27 15:33:02 +0000
committerTom Rini <[email protected]>2025-04-08 16:23:51 -0600
commit5ddb7d1265633d855889831bcad0ee4b9ea4a0d3 (patch)
treeabfe22e3012533b6353dc49e10cba0004e7f60f9 /include/linux/string.h
parent06b1ebfe521d2729cd97db7dfed62469081f0ec3 (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 <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions