From: Martin Schwidefsky Date: Tue, 10 Dec 2013 15:18:07 +0000 (+0100) Subject: s390/compat: correct check for EFAULT in rt-signal frame creation X-Git-Tag: v3.14-rc1~184^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41932bc1c86e527f866acfcd26506da3bd20509b;p=pandora-kernel.git s390/compat: correct check for EFAULT in rt-signal frame creation The return code of the __put_user call to store the rt_sigreturn system call to the user stack if not properly checked, the err variable is only checked before to the __put_user. Use an if statement instead. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed