• Ingo Molnar's avatar
    x86, fpu: check __clear_user() return value · 9f482807
    Ingo Molnar authored
    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: default avatarIngo Molnar <mingo@elte.hu>
    9f482807
xsave.c 7.97 KB