]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: convert to scoped_guard() 23411/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 17 May 2026 17:01:49 +0000 (19:01 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 21 May 2026 10:10:27 +0000 (12:10 +0200)
commit76e47b44212795b76f81e474787489c8a9582acc
tree2a361248c76d3882f5d96848d5d47c20e9d85e50
parentb8fc512a052f3bd560c9ec73ae7c8adb4ed86634
realtek: mdio: convert to scoped_guard()

Upstream netdev does not like big guards. Especially
around debugging functions. Convert to scoped_guard()
and only lock the really needed code parts. This way
all debugging can run outside of the lock.

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