From: Dan Carpenter Date: Thu, 3 Jun 2010 10:07:46 +0000 (+0200) Subject: x86, xsave: Cleanup return codes in check_for_xstate() X-Git-Tag: v2.6.36-rc1~507^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6d4d4205cf4ce4ba13bc320305afbda25303496;p=pandora-kernel.git x86, xsave: Cleanup return codes in check_for_xstate() The places which call check_for_xstate() only care about zero or non-zero so this patch doesn't change how the code runs, but it's a cleanup. The main reason for this patch is that I'm looking for places which don't return -EFAULT for copy_from_user() failures. Signed-off-by: Dan Carpenter LKML-Reference: <20100603100746.GU5483@bicker> Signed-off-by: H. Peter Anvin Cc: Suresh Siddha --- Reading git-diff-tree failed