diff options
author | Johan Hovold <johan@kernel.org> | 2014-11-11 14:00:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-12 13:55:35 -0500 |
commit | 5bb8fc0d1073e867f381316cb1c348fa45e2d602 (patch) | |
tree | d92b62f2a6c00e3248df2c99a757b58efe6e418b /fs | |
parent | c88c7d3204e66faf1f24402d551ac1d0b400e3ff (diff) |
net: phy: micrel: fix config_intr error handling
Make sure never to update the control register with random data (an
error code) by checking the return value after reading it.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions