diff options
| author | Heiner Kallweit <[email protected]> | 2019-06-11 21:04:09 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-13 22:43:10 -0700 |
| commit | 9b994b4a074c5d1daea0e9d4eb83e0372a3337e5 (patch) | |
| tree | 9126a1698f41abb1748253371bf8af9277649e78 /tools/perf/scripts/python | |
| parent | 6358f38c062d791ec1b617738f5c2de54f0ff6db (diff) | |
r8169: let mdio read functions return -ETIMEDOUT
In case of a timeout currently ~0 is returned. Callers often just check
whether a certain bit is set and therefore may behave incorrectly.
So let's return -ETIMEDOUT in case of a timeout.
r8168_phy_ocp_read is used in r8168g_mdio_read only, therefore we can
apply the same change.
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions