lkml.org 
[lkml]   [2018]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/29] x86/fpu: Remove fpu->initialized usage in __fpu__restore_sig()
On 2018-12-06 21:07:22 [+0100], Borislav Petkov wrote:
> > @@ -314,41 +312,34 @@ static int __fpu__restore_sig(void __user *buf, void __user *buf_fx, int size)
> > * thread's fpu state, reconstruct fxstate from the fsave
> > * header. Validate and sanitize the copied state.
> > */
> > + union fpregs_state *state;
> > + void *tmp;
> > struct user_i387_ia32_struct env;
> > int err = 0;
>
> Sort those in reverse xmas order pls.
>
> Otherwise looks ok.

You mean:
struct user_i387_ia32_struct env;
+ union fpregs_state *state;
+ void *tmp;
int err = 0;
?

Sebastian

\
 
 \ /
  Last update: 2018-12-07 09:18    [W:0.082 / U:1.088 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site