Re: [PATCH 42/45] x86: fix sys_sigreturn() return type to be long, not unsigned long

From: Thomas Gleixner
Date: Thu Mar 22 2018 - 05:27:44 EST


On Thu, 22 Mar 2018, Dominik Brodowski wrote:

> Same as with other system calls, sys_sigreturn() should return a value
> of type long, not unsigned long. This also matches the behaviour for
> IA32_EMULATION, see sys32_sigreturn() in arch/x86/ia32/ia32_signal.c .
>
> Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Jiri Slaby <jslaby@xxxxxxxx>
> Cc: x86@xxxxxxxxxx
> Cc: Michael Tautschnig <tautschn@xxxxxxxxxxxx>
> Signed-off-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>