tools/libxc: Fix missing break in xc_domain_bind_pt_irq()
PATCH 1/1 tools/libxc: Fix missing break in xc_domain_bind_pt_irq()
c/s 568da4f8 "pt-irq fixes and improvements" accidentally forgot a break when refactoring xc_domain_bind_pt_irq() which results in bind->u.pci.bus being clobbered by isa_irq for PCI and MSI_TRANSLATE interrupts.
Coverity-ID: 1223210
--- tools/libxc/xc_domain.c | 1 + 1 file changed, 1 insertion(+)
tools/libxc/xc_domain.c +1 -0
@@ -1711,6 +1711,7 @@ int xc_domain_bind_pt_irq( bind->u.pci.bus = bus; bind->u.pci.device = device; bind->u.pci.intx = intx; +break ;case PT_IRQ_TYPE_ISA : bind->u.isa.isa_irq = isa_irq;break ;
Signature · 1 line
1.7.10.4
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Andrew Cooper <[email protected]> 06/18/14 7:44 PM >>>
c/s
568da4f8"pt-irq fixes and improvements" accidentally forgot a break when refactoringxc_domain_bind_pt_irq()which results inbind->u.pci.busbeing clobbered byisa_irqfor PCI andMSI_TRANSLATEinterrupts.
Urgh - I'm almost certain I must have sent a stale patch then. Thanks for fixing this!
Jan
Andrew Cooper writes ("[PATCH] tools/libxc: Fix missing break in xc_domain_bind_pt_irq()"):
Quoted 9 lines
c/s
568da4f8"pt-irq fixes and improvements" accidentally forgot a break when refactoringxc_domain_bind_pt_irq()which results inbind->u.pci.busbeing clobbered byisa_irqfor PCI andMSI_TRANSLATEinterrupts.Coverity-ID: 1223210
Signed-off-by Andrew Cooper <[email protected]>CC Jan Beulich <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>
Ian Jackson writes ("Re: [PATCH] tools/libxc: Fix missing break in xc_domain_bind_pt_irq()"):
Quoted 5 lines
Andrew Cooper writes ("[PATCH]
tools/libxc: Fix missing break inxc_domain_bind_pt_irq()"):Quoted 4 lines
c/s
568da4f8"pt-irq fixes and improvements" accidentally forgot a break when refactoringxc_domain_bind_pt_irq()which results inbind->u.pci.busbeing clobbered byisa_irqfor PCI andMSI_TRANSLATEinterrupts.
Quoted 8 lines
Quoted 5 lines
Coverity-ID: 1223210
Signed-off-by Andrew Cooper <[email protected]>CC Jan Beulich <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>Acked-by Ian Jackson <[email protected]>Committed-by Ian Jackson <[email protected]>
This had found its way onto my backport list, but the bug (in 568da4f8) is not in 4.4.
Ian.