From 643fbf02e04ee2631fda82cb7e1d0f3c86e38213 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Thu, 14 Jun 2018 15:34:44 +0200 Subject: target-microblaze: mmu: Correct masking of output addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correct the masking of output addresses. This fixes Coverity CID 1391441. Fixes: commit 3924a9aa02 Reviewed-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Reported-by: Peter Maydell Signed-off-by: Edgar E. Iglesias --- target/microblaze/mmu.c | 1 - 1 file changed, 1 deletion(-) (limited to 'target') diff --git a/target/microblaze/mmu.c b/target/microblaze/mmu.c index f4ceaea..fcf86b1 100644 --- a/target/microblaze/mmu.c +++ b/target/microblaze/mmu.c @@ -159,7 +159,6 @@ unsigned int mmu_translate(struct microblaze_mmu *mmu, lu->vaddr = tlb_tag; lu->paddr = tlb_rpn & mmu->c_addr_mask; - lu->paddr = tlb_rpn; lu->size = tlb_size; lu->err = ERR_HIT; lu->idx = i; -- cgit v1.1