From: H. Peter Anvin Date: Mon, 31 Aug 2009 21:23:29 +0000 (-0700) Subject: x86, msr: Have the _safe MSR functions return -EIO, not -EFAULT X-Git-Tag: v2.6.32-rc1~711^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cc0213e73af5963eca259c84876937c20689dbd;p=pandora-kernel.git x86, msr: Have the _safe MSR functions return -EIO, not -EFAULT For some reason, the _safe MSR functions returned -EFAULT, not -EIO. However, the only user which cares about the return code as anything other than a boolean is the MSR driver, which wants -EIO. Change it to -EIO across the board. Signed-off-by: H. Peter Anvin Cc: Jeremy Fitzhardinge Cc: Chris Wright Cc: Alok Kataria Cc: Rusty Russell --- Reading git-diff-tree failed