projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61033e0
)
xen: events: Replace BUG() with BUG_ON()
author
Shyam Saini
<mayhs11saini@gmail.com>
Sat, 24 Dec 2016 08:52:46 +0000
(14:22 +0530)
committer
Juergen Gross
<jgross@suse.com>
Tue, 3 Jan 2017 13:37:39 +0000
(14:37 +0100)
Replace BUG() with BUG_ON() using coccinelle
Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/events/events_fifo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/xen/events/events_fifo.c
b/drivers/xen/events/events_fifo.c
index 7ef27c6ed72fb397167aaf86384da4adf947d6e6..71224abdd9f9d94cdf62efa074a5945ac0ffd048 100644
(file)
--- a/
drivers/xen/events/events_fifo.c
+++ b/
drivers/xen/events/events_fifo.c
@@
-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);
}
/*