]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit9f482807a6bd7e2aa1ed0d8cfc48463ec4ca3568
tree0050a865ffc49e71e9787ad1012d39a4c3c5d8b4
parent620f2efcdc5c7a2db68da41bc3df3cf9a718024e
x86, fpu: check __clear_user() return value

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>
arch/x86/kernel/xsave.c