summaryrefslogtreecommitdiff
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-06-11 21:04:09 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-13 22:43:10 -0700
commit9b994b4a074c5d1daea0e9d4eb83e0372a3337e5 (patch)
tree9126a1698f41abb1748253371bf8af9277649e78 /fs/ubifs/commit.c
parent6358f38c062d791ec1b617738f5c2de54f0ff6db (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 <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions