summaryrefslogtreecommitdiffstats
path: root/net/802/fddi.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-03-05 13:14:43 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2013-03-07 16:21:21 -0300
commitdc5008b9bf6adb0c0a5afba6fb376a85451b2697 (patch)
treeb52050bd00f8fc5e8897f10497a3bbf051cb0155 /net/802/fddi.c
parent59a1fa2d80c0d351755cb29273b2b256dc4b3a11 (diff)
downloadblackbird-op-linux-dc5008b9bf6adb0c0a5afba6fb376a85451b2697.tar.gz
blackbird-op-linux-dc5008b9bf6adb0c0a5afba6fb376a85451b2697.zip
s390/kvm: remove explicit -EFAULT return code checking on guest access
Let's change to the paradigm that every return code from guest memory access functions that is not zero translates to -EFAULT and do not explictly compare. Explictly comparing the return value with -EFAULT has already shown to be a bit fragile. In addition this is closer to the handling of copy_to/from_user functions, which imho is in general a good idea. Also shorten the return code handling in interrupt.c a bit. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'net/802/fddi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud