projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB (3485): BUG_ON() Conversion in drivers/video/media
[linux-2.6-microblaze.git]
/
drivers
/
media
/
common
/
saa7146_core.c
diff --git
a/drivers/media/common/saa7146_core.c
b/drivers/media/common/saa7146_core.c
index
ee16c04
..
8cdd4d2
100644
(file)
--- a/
drivers/media/common/saa7146_core.c
+++ b/
drivers/media/common/saa7146_core.c
@@
-116,8
+116,7
@@
static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages)
pg = vmalloc_to_page(virt);
if (NULL == pg)
goto err;
- if (PageHighMem(pg))
- BUG();
+ BUG_ON(PageHighMem(pg));
sglist[i].page = pg;
sglist[i].length = PAGE_SIZE;
}