x86/PV: correct post-preemption progress recording in iommu_memory_setup()
PATCH 1/1 x86/PV: correct post-preemption progress recording in iommu_memory_setup()
Coverity validly points out that the mfn_add() as used was dead code.
Coverity ID: 1507475
Signed-off-by Jan Beulich <[email protected]>
xen/arch/x86/pv/dom0_build.c +1 -1
@@ -130,7 +130,7 @@ static void __init iommu_memory_setup(st IOMMUF_readable | IOMMUF_writable | IOMMUF_preempt, flush_flags)) > 0 ) { -mfn_add (mfn, rc); + mfn =mfn_add (mfn, rc); nr -= rc;/* See comment below. */ for ( ; rc--; ++page )
Quoted 4 lines · Jan Beulich
Coverity validly points out that the
mfn_add()as used was dead code.Coverity ID: 1507475
Signed-off-by Jan Beulich <[email protected]>
Acked-by Andrew Cooper <[email protected]>
Quoted 6 lines · Andrew Cooper
Quoted 4 lines · Jan Beulich
Coverity validly points out that the
mfn_add()as used was dead code.Coverity ID: 1507475
Signed-off-by Jan Beulich <[email protected]>Acked-by Andrew Cooper <[email protected]>
Although on second thoughts, this needs a fixes c1e1564c8995d tag too.
~Andrew
Quoted 9 lines · Andrew Cooper
Quoted 6 lines · Andrew Cooper
Quoted 4 lines · Jan Beulich
Coverity validly points out that the
mfn_add()as used was dead code.Coverity ID: 1507475
Signed-off-by Jan Beulich <[email protected]>Acked-by Andrew Cooper <[email protected]>Although on second thoughts, this needs a fixes
c1e1564c8995dtag too.
Oh, of course.
Jan