]> Git Repo - linux.git/commit
x86/fpu: Remove error return values from copy_kernel_to_*regs() functions
authorIngo Molnar <[email protected]>
Mon, 25 May 2015 09:27:46 +0000 (11:27 +0200)
committerIngo Molnar <[email protected]>
Wed, 27 May 2015 12:11:30 +0000 (14:11 +0200)
commit9ccc27a5d297503e485373b69688d038a1d8e662
tree316780b039d30bdc3896bc5209a0755144456327
parent3e1bf47e5c81c2b895db4bea67f70c3ca8e5b984
x86/fpu: Remove error return values from copy_kernel_to_*regs() functions

None of the copy_kernel_to_*regs() FPU register copying functions are
supposed to fail, and all of them have debugging checks that enforce
this.

Remove their return values and simplify their call sites, which have
redundant error checks and error handling code paths.

Cc: Andy Lutomirski <[email protected]>
Cc: Bobby Powers <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/fpu/internal.h
arch/x86/kernel/fpu/core.c
This page took 0.057864 seconds and 4 git commands to generate.