OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] usb drivers: use BUG_ON() instead of if () BUG
[uclinux-h8/linux.git]
/
drivers
/
media
/
usb
/
cx231xx
/
cx231xx-417.c
diff --git
a/drivers/media/usb/cx231xx/cx231xx-417.c
b/drivers/media/usb/cx231xx/cx231xx-417.c
index
855a708
..
47a98a2
100644
(file)
--- a/
drivers/media/usb/cx231xx/cx231xx-417.c
+++ b/
drivers/media/usb/cx231xx/cx231xx-417.c
@@
-1249,8
+1249,7
@@
static void free_buffer(struct videobuf_queue *vq, struct cx231xx_buffer *buf)
struct cx231xx *dev = fh->dev;
unsigned long flags = 0;
- if (in_interrupt())
- BUG();
+ BUG_ON(in_interrupt());
spin_lock_irqsave(&dev->video_mode.slock, flags);
if (dev->USE_ISO) {