aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2022-07-20 14:20:57 +0300
committerJakub Kicinski <[email protected]>2022-07-21 19:01:16 -0700
commit27161db0904ee48e59140aa8d0835939a666c1f1 (patch)
treedd6dda6fd2b01558a1df5e24a972e52ecc61ca8a /tools/perf/scripts/python
parent7ca433dc6dedb2ec98dfc943f6db0c9b8996ed11 (diff)
net: pcs: xpcs: propagate xpcs_read error to xpcs_get_state_c37_sgmii
While phylink_pcs_ops :: pcs_get_state does return void, xpcs_get_state() does check for a non-zero return code from xpcs_get_state_c37_sgmii() and prints that as a message to the kernel log. However, a non-zero return code from xpcs_read() is translated into "return false" (i.e. zero as int) and the I/O error is therefore not printed. Fix that. Fixes: b97b5331b8ab ("net: pcs: add C37 SGMII AN support for intel mGbE controller") Signed-off-by: Vladimir Oltean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions