diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2022-11-18 10:36:35 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-21 20:43:01 -0800 |
commit | 1f0dd412e34e177621769866bef347f0b22364df (patch) | |
tree | 696031d5a26de02096ef00460abb3bf6cfc2bd1c /net/tipc | |
parent | badbda1a01860c80c6ab60f329ef46c713653a27 (diff) | |
download | linux-stable-1f0dd412e34e177621769866bef347f0b22364df.tar.gz linux-stable-1f0dd412e34e177621769866bef347f0b22364df.tar.bz2 linux-stable-1f0dd412e34e177621769866bef347f0b22364df.zip |
net: phy: at803x: fix error return code in at803x_probe()
Fix to return a negative error code from the ccr read error handling
case instead of 0, as done elsewhere in this function.
Fixes: 3265f4218878 ("net: phy: at803x: add fiber support")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221118103635.254256-1-weiyongjun@huaweicloud.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions