]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: vmx: clean up some debug output
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 24 Apr 2019 10:15:08 +0000 (13:15 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Apr 2019 19:32:20 +0000 (21:32 +0200)
commit658bf61a0c5d08cee4cc22dbf6faed77f3acda38
tree23562927cef3b13e0fb27da0a1683074f248348a
parentbaf6e0fa4cb8c8cc5e31f96b139b388897be03d1
KVM: vmx: clean up some debug output

Smatch complains about this:

    arch/x86/kvm/vmx/vmx.c:5730 dump_vmcs()
    warn: KERN_* level not at start of string

The code should be using pr_cont() instead of pr_err().

Fixes: 21657d0ac309 ("KVM: vmx: print more APICv fields in dump_vmcs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c