diff options
| author | Choong Yong Liang <[email protected]> | 2025-03-10 05:08:35 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-17 20:09:22 +0000 |
| commit | 38f13bf801303a38316a12e06dbfc6fdc410f8ed (patch) | |
| tree | 84ae3045bcb33837d977fb71504f1d7fdc06dbfe /tools/testing/selftests/kvm/x86/nested_exceptions_test.c | |
| parent | Merge branch 'net-phy-clean-up-phy-package-mmd-access-functions' (diff) | |
| download | kernel-38f13bf801303a38316a12e06dbfc6fdc410f8ed.tar.gz kernel-38f13bf801303a38316a12e06dbfc6fdc410f8ed.zip | |
stmmac: intel: Fix warning message for return value in intel_tsn_lane_is_available()
Fix the warning "warn: missing error code? 'ret'" in the
intel_tsn_lane_is_available() function.
The function now returns 0 to indicate that a TSN lane was found and
returns -EINVAL when it is not found.
Fixes: a42f6b3f1cc1 ("net: stmmac: configure SerDes according to the interface mode")
Signed-off-by: Choong Yong Liang <[email protected]>
Reviewed-by: Kory Maincent <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions
