diff options
-rw-r--r-- | drivers/media/video/videobuf-vmalloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c index 6ef4f523689a..b2abfc9d9a8e 100644 --- a/drivers/media/video/videobuf-vmalloc.c +++ b/drivers/media/video/videobuf-vmalloc.c | |||
@@ -140,7 +140,6 @@ static int __videobuf_iolock (struct videobuf_queue* q, | |||
140 | 140 | ||
141 | MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM); | 141 | MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM); |
142 | 142 | ||
143 | |||
144 | pages = PAGE_ALIGN(vb->size) >> PAGE_SHIFT; | 143 | pages = PAGE_ALIGN(vb->size) >> PAGE_SHIFT; |
145 | 144 | ||
146 | /* Currently, doesn't support V4L2_MEMORY_OVERLAY */ | 145 | /* Currently, doesn't support V4L2_MEMORY_OVERLAY */ |
@@ -153,7 +152,7 @@ static int __videobuf_iolock (struct videobuf_queue* q, | |||
153 | /* FIXME: should be tested with kernel mmap mem */ | 152 | /* FIXME: should be tested with kernel mmap mem */ |
154 | mem->vmalloc=vmalloc_user (PAGE_ALIGN(vb->size)); | 153 | mem->vmalloc=vmalloc_user (PAGE_ALIGN(vb->size)); |
155 | if (NULL == mem->vmalloc) { | 154 | if (NULL == mem->vmalloc) { |
156 | dprintk(1,"vmalloc (%d pages) failed\n",pages); | 155 | printk(KERN_ERR "vmalloc (%d pages) failed\n",pages); |
157 | return -ENOMEM; | 156 | return -ENOMEM; |
158 | } | 157 | } |
159 | 158 | ||