diff options
author | Russell King (Oracle) <[email protected]> | 2024-10-23 14:41:46 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-29 11:57:31 -0700 |
commit | 280ed44982ff478a949a810f9ddfb4adb8207b57 (patch) | |
tree | 9e009b00e9ba5e8ea833ce419d6a5bc1f789908b /tools/perf/scripts/python/sctop.py | |
parent | e0e918494c3cfdc589c9ede49183046a42cdff39 (diff) |
net: phylink: add common validation for sfp_select_interface()
Whenever we call sfp_select_interface(), we check the returned value
and print an error. There are two cases where this happens with the
same message. Provide a common function to do this.
Reviewed-by: Maxime Chevallier <[email protected]>
Tested-by: Maxime Chevallier <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions