]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl930x: improve error propagation 22582/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 25 Mar 2026 12:51:09 +0000 (13:51 +0100)
committerRobert Marko <robimarko@gmail.com>
Thu, 26 Mar 2026 09:53:46 +0000 (10:53 +0100)
commit9c4c83d331876439b183fe518e87edd181350896
tree1047dfbea572e3d9bf461f4c96cec145284baee7
parent6425d0f0c6629a5abb5ccc0a5b96746ea03657b8
realtek: pcs: rtl930x: improve error propagation

Previous changes refactored the hardware mode configuration for RTL930x
a lot. Now that this is in a better shape, one issue persists: missing
error propagation. Only parts of this function really propagate an
error, others are silently dropped. While this is a known driver-wide
issue, at least make it good here. Propagate the errors from functions
which apply configuration sequences to the caller.

Single writes are still left out on purpose, they need and will be
addressed later.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22582
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c