]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: harden mdio probing 21968/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 10 Feb 2026 16:16:48 +0000 (17:16 +0100)
committerRobert Marko <robimarko@gmail.com>
Fri, 13 Feb 2026 11:53:47 +0000 (12:53 +0100)
commit45fa6e317506b72236ff7583e0bde37077337cda
treea95e053763367aa57dfdd0d20ff163a6438acc94
parent64d72c74516f330153d69d02ff8693fb299b5b04
realtek: mdio: harden mdio probing

Do better error checks during bus probing. Give meaningful return codes
in case of invalid DTS data (EINVAL instead of ENODEV). Decrease node
reference in case of errors.

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