summaryrefslogtreecommitdiff
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-11-11 22:00:08 +0300
committerDavid S. Miller <davem@davemloft.net>2014-11-12 21:55:35 +0300
commit5bb8fc0d1073e867f381316cb1c348fa45e2d602 (patch)
treed92b62f2a6c00e3248df2c99a757b58efe6e418b /include/linux/tty.h
parentc88c7d3204e66faf1f24402d551ac1d0b400e3ff (diff)
downloadlinux-5bb8fc0d1073e867f381316cb1c348fa45e2d602.tar.xz
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 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions