diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-10-14 13:34:28 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-10-24 17:17:06 +0200 |
commit | f8544ec4f49ffb9cb93419e41f0d8c0fb39eb78f (patch) | |
tree | cebeb58b9e4ed050b88ef839438de3492cde5510 /firmware/acenic | |
parent | f5be85a2d3b06e660d90dd672ae54015be3f62a9 (diff) | |
download | blackbird-op-linux-f8544ec4f49ffb9cb93419e41f0d8c0fb39eb78f.tar.gz blackbird-op-linux-f8544ec4f49ffb9cb93419e41f0d8c0fb39eb78f.zip |
s390/compat,signal: change return values to -EFAULT
Instead of returnin the number of bytes not copied and/or -EFAULT let the
signal handler helper functions always return -EFAULT if a user space
access failed.
This doesn't fix a bug in the current code, but makes is harder to get it
wrong in the future.
Also "smatch" won't complain anymore about the fact that the number of
remaining bytes gets returned instead of -EFAULT.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'firmware/acenic')
0 files changed, 0 insertions, 0 deletions