mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
xen: events: Replace BUG() with BUG_ON()
Replace BUG() with BUG_ON() using coccinelle Signed-off-by: Shyam Saini <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
This commit is contained in:
parent
61033e089c
commit
f9751a60f1
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue