]> asedeno.scripts.mit.edu Git - linux.git/commit
net: phy: xgmiitorgmii: Check read_status results
authorBrandon Maier <brandon.maier@rockwellcollins.com>
Tue, 26 Jun 2018 17:50:50 +0000 (12:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 07:12:06 +0000 (16:12 +0900)
commit8d0752d11312be830c33e84dfd1016e6a47c2938
tree51fde9277faaac731cecd0dec1b8c11aee4d6503
parentcf31ea71c0593ca6227bd3f4958c098753267f44
net: phy: xgmiitorgmii: Check read_status results

We're ignoring the result of the attached phy device's read_status().
Return it so we can detect errors.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/xilinx_gmii2rgmii.c