aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 40905ce6be0a..a25b3df8e3e1 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -2946,7 +2946,7 @@ static int kvm_vm_ioctl_set_tss_addr(struct kvm *kvm, unsigned long addr)
2946 int ret; 2946 int ret;
2947 2947
2948 if (addr > (unsigned int)(-3 * PAGE_SIZE)) 2948 if (addr > (unsigned int)(-3 * PAGE_SIZE))
2949 return -1; 2949 return -EINVAL;
2950 ret = kvm_x86_ops->set_tss_addr(kvm, addr); 2950 ret = kvm_x86_ops->set_tss_addr(kvm, addr);
2951 return ret; 2951 return ret;
2952} 2952}