x86, fpu: check __clear_user() return value
authorIngo Molnar <mingo@elte.hu>
Mon, 18 Aug 2008 10:59:32 +0000 (12:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Oct 2008 13:17:39 +0000 (15:17 +0200)
fix warning:

  arch/x86/kernel/xsave.c: In function ‘save_i387_xstate’:
  arch/x86/kernel/xsave.c:98: warning: ignoring return value of ‘__clear_user’, declared with attribute warn_unused_result

check the return value and act on it. We should not be ignoring faults
at this point.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found