]> git.baikalelectronics.ru Git - kernel.git/commitdiff
MIPS: KVM: Add missing newline to kvm_err()
authorJames Hogan <james.hogan@imgtec.com>
Wed, 16 Dec 2015 23:49:39 +0000 (23:49 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 02:38:48 +0000 (03:38 +0100)
Add missing newline to end of kvm_err string when guest PMAP couldn't be
allocated.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11896/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kvm/mips.c

index 1b688faf2cf3af9e3055ee591133b8ca4f7152ad..8bc3977576e6af5f7b5c1a17f306da0f21b26937 100644 (file)
@@ -229,7 +229,7 @@ void kvm_arch_commit_memory_region(struct kvm *kvm,
                            kzalloc(npages * sizeof(unsigned long), GFP_KERNEL);
 
                        if (!kvm->arch.guest_pmap) {
-                               kvm_err("Failed to allocate guest PMAP");
+                               kvm_err("Failed to allocate guest PMAP\n");
                                return;
                        }