summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/msr.c
diff options
context:
space:
mode:
authorH. Peter Anvin2009-08-31 23:23:29 +0200
committerH. Peter Anvin2009-09-01 00:15:23 +0200
commit0cc0213e73af5963eca259c84876937c20689dbd (patch)
tree2e3db62cc241269fbb3ee3313e568239cf4c9bd0 /arch/x86/lib/msr.c
parentx86, msr: CFI annotations, cleanups for msr-reg.S (diff)
downloadkernel-qcow2-linux-0cc0213e73af5963eca259c84876937c20689dbd.tar.gz
kernel-qcow2-linux-0cc0213e73af5963eca259c84876937c20689dbd.tar.xz
kernel-qcow2-linux-0cc0213e73af5963eca259c84876937c20689dbd.zip
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 <hpa@zytor.com> Cc: Jeremy Fitzhardinge <jeremy@xensource.com> Cc: Chris Wright <chrisw@sous-sol.org> Cc: Alok Kataria <akataria@vmware.com> Cc: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/lib/msr.c')
0 files changed, 0 insertions, 0 deletions