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

Now that fpu__restore_sig() returns a boolean get rid of the individual
error codes in __fpu_restore_sig() as well.

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.966197097@linutronix.de
arch/x86/kernel/fpu/signal.c