]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: harden rtmdio_get_phy_info()
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 6 May 2026 14:25:05 +0000 (16:25 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 11 May 2026 08:32:29 +0000 (10:32 +0200)
commit8cf43d8b667fc5f8b23e27c33c30ee8c19fd7345
tree52283c8f7c4ba45617744672c75385ef427cbb07
parent834d2e51f48fad04c2c28a62b41d06a4c609d280
realtek: mdio: harden rtmdio_get_phy_info()

Improve error checking and code flow.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/23230
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c