realtek: 5.15: replace fallthrough comment for rtl838x ethernet driver
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 7 May 2023 08:20:30 +0000 (10:20 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:40 +0000 (03:15 +0200)
commitc7bca5883d17ad49c66e7acd671c2c2a3d0ea6fc
treebf50b5d0f9476a912039a3e894e3edfb475bcaf8
parent8aa786d9a78a7c4422043206ece21f47e01529e6
realtek: 5.15: replace fallthrough comment for rtl838x ethernet driver

Replace fallthrough comment with fallthrough macro for rtl838x ethernet
driver.
Fix compilarion warning:
drivers/net/ethernet/rtl838x_eth.c: In function 'rtl930x_mdio_reset':
drivers/net/ethernet/rtl838x_eth.c:1959:43: error: this statement may fall through [-Werror=implicit-fallthrough=]
 1959 |                         private_poll_mask |= BIT(i);
drivers/net/ethernet/rtl838x_eth.c:1961:17: note: here
 1961 |                 case PHY_INTERFACE_MODE_USXGMII:
      |                 ^~~~

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/realtek/files-5.15/drivers/net/ethernet/rtl838x_eth.c