xen: events: Replace BUG() with BUG_ON()
PATCH 1/1 xen: events: Replace BUG() with BUG_ON()
Replace BUG() with BUG_ON() using coccinelle
Signed-off-by Shyam Saini <[email protected]>
--- drivers/xen/events/events_fifo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/xen/events/events_fifo.c +1 -2
@@ -369,8 +369,7 @@ static void evtchn_fifo_resume(void) } ret =init_control_block (cpu, control_block); -if (ret <0 ) -BUG (); +BUG_ON (ret <0 ); }/*
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 3 lines · Shyam Saini
Replace
BUG()withBUG_ON()using coccinelleSigned-off-by Shyam Saini <[email protected]>
Reviewed-by Juergen Gross <[email protected]>
Quoted 10 lines
--- drivers/xen/events/events_fifo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/xen/events/events_fifo.c +0
-0
drivers/xen/events/events_fifo.c static void evtchn_fifo_resume(void) · line 375
Quoted 9 lines
drivers/xen/events/events_fifo.c +1
-2@@ -369,8 +369,7 @@ static void evtchn_fifo_resume(void) } ret =init_control_block (cpu, control_block); -if (ret <0 ) -BUG (); +BUG_ON (ret <0 ); }/*
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Juergen Gross
maintainerQuoted 3 lines · Shyam Saini
Replace
BUG()withBUG_ON()using coccinelleSigned-off-by Shyam Saini <[email protected]>
Committed to xen/tip.git for-linus-4.10
Thanks,
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel