Signed-off-by: Suresh Siddha --- Index: tip/arch/x86/kernel/xsave.c =================================================================== --- tip.orig/arch/x86/kernel/xsave.c 2008-10-02 10:30:55.000000000 -0700 +++ tip/arch/x86/kernel/xsave.c 2008-10-02 10:31:26.000000000 -0700 @@ -121,6 +121,8 @@ err |= __put_user(FP_XSTATE_MAGIC2, (__u32 __user *) (buf + sig_xstate_size - FP_XSTATE_MAGIC2_SIZE)); + if (err) + return err; } return 1; -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/