tools/libxc: Fix missing break from c/s b49a7517
PATCH 1/1 tools/libxc: Fix missing break from c/s b49a7517
Signed-off-by Andrew Cooper <[email protected]>
CC Ian Campbell <[email protected]>
CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Julien Grall <[email protected]>
--- tools/libxc/xc_domain.c | 1 + 1 file changed, 1 insertion(+)
tools/libxc/xc_domain.c +1 -0
@@ -1978,6 +1978,7 @@ static int xc_domain_unbind_pt_irq_int(break ;case PT_IRQ_TYPE_SPI : bind->u.spi.spi = spi; +break ;default : errno =EINVAL ;return -1 ;
Signature · 1 line
1.7.10.4
Hi Andrew,
Quoted 14 lines · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Wei Liu <[email protected]>CC Julien Grall <[email protected]>--- tools/libxc/xc_domain.c | 1 + 1 file changed, 1 insertion(+)tools/libxc/xc_domain.c +0
-0
tools/libxc/xc_domain.c static int xc_domain_unbind_pt_irq_int( · line 1981
Quoted 4 lines
tools/libxc/xc_domain.c +1
-0@@ -1978,6 +1978,7 @@ static int xc_domain_unbind_pt_irq_int(break ;case PT_IRQ_TYPE_SPI : bind->u.spi.spi = spi; +break ;
Sorry, I haven't spot this one because I didn't exercise this code path.
I did the same mistake in xc_domain_bint_pt_irq_int which I fixed during testing.
Reviewed-by Julien Grall <[email protected]>
Regards,
Signature · 1 line
Julien Grall
Quoted 24 lines · Julien Grall
Hi Andrew,
Quoted 14 lines · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Wei Liu <[email protected]>CC Julien Grall <[email protected]>--- tools/libxc/xc_domain.c | 1 + 1 file changed, 1 insertion(+)tools/libxc/xc_domain.c +0
-0tools/libxc/xc_domain.c static int xc_domain_unbind_pt_irq_int( · line 1981
Quoted 4 lines
tools/libxc/xc_domain.c +1
-0@@ -1978,6 +1978,7 @@ static int xc_domain_unbind_pt_irq_int(break ;case PT_IRQ_TYPE_SPI : bind->u.spi.spi = spi; +break ;Sorry, I haven't spot this one because I didn't exercise this code path.
Quoted 4 lines
I did the same mistake in
xc_domain_bint_pt_irq_intwhich I fixed during testing.Reviewed-by Julien Grall <[email protected]>
Acked + applied, thanks.
Ian.