summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/video-buf.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-13 13:17:11 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-13 13:17:11 -0300
commit0b831dcdb633365e47049c9aa5f243cce99569e5 (patch)
tree1f4adac3c92c3e671217e22f1dcb63423104aad9 /linux/drivers/media/video/video-buf.c
parent8dedcbf12153e737c57c521a6fbf108e6f9e81d8 (diff)
downloadmediapointer-dvb-s2-0b831dcdb633365e47049c9aa5f243cce99569e5.tar.gz
mediapointer-dvb-s2-0b831dcdb633365e47049c9aa5f243cce99569e5.tar.bz2
BUG_ON() Conversion in drivers/video/media
From: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/video-buf.c')
-rw-r--r--linux/drivers/media/video/video-buf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/video-buf.c b/linux/drivers/media/video/video-buf.c
index c4e2c58a2..4a83c6943 100644
--- a/linux/drivers/media/video/video-buf.c
+++ b/linux/drivers/media/video/video-buf.c
@@ -61,8 +61,7 @@ videobuf_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;
}