From: Heiko Carstens Date: Mon, 14 Oct 2013 11:34:28 +0000 (+0200) Subject: s390/compat,signal: change return values to -EFAULT X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~58^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8544ec4f49ffb9cb93419e41f0d8c0fb39eb78f;p=pandora-kernel.git 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed