x86/fpu/signal: Change return type of fpu__restore_sig() to boolean
authorThomas Gleixner <tglx@linutronix.de>
Wed, 8 Sep 2021 13:29:37 +0000 (15:29 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 14 Sep 2021 19:10:03 +0000 (21:10 +0200)
commitf3305be5feecae62adfa5a6a1441a76493fe7412
tree9f045390304bfd785cd8cedfd3e5809d8e865b17
parentee4ecdfbd28954086a09740dc931c10c93e39370
x86/fpu/signal: Change return type of fpu__restore_sig() to boolean

None of the call sites cares about the error code. All they need to know is
whether the function succeeded or not.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210908132525.909065931@linutronix.de
arch/x86/ia32/ia32_signal.c
arch/x86/include/asm/fpu/internal.h
arch/x86/kernel/fpu/signal.c
arch/x86/kernel/signal.c