diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-28 11:33:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-28 11:33:34 -0700 |
commit | 050fc52d83c47279ddc115636741105ec1d4886a (patch) | |
tree | 3c1bc4e27c38d25d0680cd98da2084977fdf0877 /drivers | |
parent | ad0376eb1483bd9880770b346f6592aece669e4c (diff) | |
parent | 2beb6dad2e8f95d710159d5befb390e4f62ab5cf (diff) | |
download | linux-stable-050fc52d83c47279ddc115636741105ec1d4886a.tar.gz linux-stable-050fc52d83c47279ddc115636741105ec1d4886a.tar.bz2 linux-stable-050fc52d83c47279ddc115636741105ec1d4886a.zip |
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull KVM fixes from Paolo Bonzini:
"All x86-specific, apart from some arch-independent syzkaller fixes"
* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
KVM: x86: cleanup the page tracking SRCU instance
KVM: nVMX: fix nested EPT detection
KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
KVM: kvm_io_bus_unregister_dev() should never fail
KVM: VMX: Fix enable VPID conditions
KVM: nVMX: Fix nested VPID vmx exec control
KVM: x86: correct async page present tracepoint
kvm: vmx: Flush TLB when the APIC-access address changes
KVM: x86: use pic/ioapic destructor when destroy vm
KVM: x86: check existance before destroy
KVM: x86: clear bus pointer when destroyed
KVM: Documentation: document MCE ioctls
KVM: nVMX: don't reset kvm mmu twice
PTP: fix ptr_ret.cocci warnings
kvm: fix usage of uninit spinlock in avic_vm_destroy()
KVM: VMX: downgrade warning on unexpected exit code
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ptp/ptp_kvm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ptp/ptp_kvm.c b/drivers/ptp/ptp_kvm.c index 09b4df74291e..bb865695d7a6 100644 --- a/drivers/ptp/ptp_kvm.c +++ b/drivers/ptp/ptp_kvm.c @@ -193,10 +193,7 @@ static int __init ptp_kvm_init(void) kvm_ptp_clock.ptp_clock = ptp_clock_register(&kvm_ptp_clock.caps, NULL); - if (IS_ERR(kvm_ptp_clock.ptp_clock)) - return PTR_ERR(kvm_ptp_clock.ptp_clock); - - return 0; + return PTR_ERR_OR_ZERO(kvm_ptp_clock.ptp_clock); } module_init(ptp_kvm_init); |