diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-08-05 12:04:00 +0100 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-08-18 15:47:57 +0200 |
commit | ff36afe346777f60c461964de1ab00aa6b2edb95 (patch) | |
tree | be02a679d3377b3caa31f5878a0e869e9ff2b7dd /drivers/fpga | |
parent | ed3b08874f4c47e287a1f0eb36fc61ff7d778cc9 (diff) |
net: mediatek: Use correct variable for return
In mtk_eth_of_to_plat, the last error check has the value in
'priv->phy_addr' but returns ret. Correct to return 'priv->phy_addr'
instead.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions