]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: msr: correct return value on partial operations
authorH. Peter Anvin <hpa@zytor.com>
Tue, 26 Aug 2008 00:34:27 +0000 (17:34 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 26 Aug 2008 00:46:12 +0000 (17:46 -0700)
commit85f1cb60157e06d9e8996b02fad9ba6964523d75
treef4e5ebe8284718a50a67351d4d63b701b1a1e605
parent4b46ca701bdcdc19fcf32823f9fcabf8236e4e78
x86: msr: correct return value on partial operations

Return the correct return value when the MSR driver partially
completes a request (we should return the number of bytes actually
read or written, instead of the error code.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/msr.c