net: e1000: annotate switch/case fallthrough
authorAndre Przywara <andre.przywara@arm.com>
Thu, 27 Mar 2025 15:33:06 +0000 (15:33 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 8 Apr 2025 22:23:51 +0000 (16:23 -0600)
commit960d3d933dbda88aed6d4fcf0711dbc7448ffd83
tree5caa00a569c0b2b3ba078a634af3daf4e5c25feb
parent2c22efbb37b00fc353ffee56bf0b54c38639e08e
net: e1000: annotate switch/case fallthrough

The E1000 driver uses an implicit switch/case fallthrough for sharing
some code supporting different PHYs.

Add our "fallthrough;" statement-like macro before the two labels in
e1000_set_phy_type(), to avoid a warning when GCC's -Wimplicit-fallthrough
warning option is enabled.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/net/e1000.c