KVM: PPC: Book3S HV: Delete an error message for a failed memory allocation in kvmppc_allocate_hpt()
Subsystems (3)
PATCH 1/1 KVM: PPC: Book3S HV: Delete an error message for a failed memory allocation in kvmppc_allocate_hpt()
From: Markus Elfring <[email protected]>
Date: Thu, 5 Oct 2017 13:16:51 +0200
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>
--- arch/powerpc/kvm/book3s_64_mmu_hv.c | 1 - 1 file changed, 1 deletion(-)
arch/powerpc/kvm/book3s_64_mmu_hv.c +0 -1
@@ -106,7 +106,6 @@ int kvmppc_allocate_hpt(struct kvm_hpt_info *info, u32 order)/* Allocate reverse map array */ rev =vmalloc (sizeof (struct revmap_entry ) * npte);if (!rev) { -pr_err ("kvmppc_allocate_hpt: Couldn't alloc reverse map array\n" );if (cma)kvm_free_hpt_cma (page,1 << (order -PAGE_SHIFT ));else
Signature · 1 line
2.14.2
Paul Mackerras
AppliedQuoted 8 lines · SF Markus Elfring
From: Markus Elfring <[email protected]>
Date: Thu, 5 Oct 2017 13:16:51 +0200Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>
Thanks, applied to my kvm-ppc-next branch.
Paul.