aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf-dma-sg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/videobuf-dma-sg.c')
-rw-r--r--drivers/media/video/videobuf-dma-sg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c
index e6ce99ff7fd1..440c1a8e9c1f 100644
--- a/drivers/media/video/videobuf-dma-sg.c
+++ b/drivers/media/video/videobuf-dma-sg.c
@@ -252,7 +252,7 @@ int videobuf_dma_map(struct videobuf_queue* q, struct videobuf_dmabuf *dma)
252 dma->nr_pages, dma->direction); 252 dma->nr_pages, dma->direction);
253 if (0 == dma->sglen) { 253 if (0 == dma->sglen) {
254 printk(KERN_WARNING 254 printk(KERN_WARNING
255 "%s: videobuf_map_sg failed\n",__FUNCTION__); 255 "%s: videobuf_map_sg failed\n",__func__);
256 kfree(dma->sglist); 256 kfree(dma->sglist);
257 dma->sglist = NULL; 257 dma->sglist = NULL;
258 dma->sglen = 0; 258 dma->sglen = 0;
@@ -430,7 +430,7 @@ static void *__videobuf_alloc(size_t size)
430 videobuf_dma_init(&mem->dma); 430 videobuf_dma_init(&mem->dma);
431 431
432 dprintk(1,"%s: allocated at %p(%ld+%ld) & %p(%ld)\n", 432 dprintk(1,"%s: allocated at %p(%ld+%ld) & %p(%ld)\n",
433 __FUNCTION__,vb,(long)sizeof(*vb),(long)size-sizeof(*vb), 433 __func__,vb,(long)sizeof(*vb),(long)size-sizeof(*vb),
434 mem,(long)sizeof(*mem)); 434 mem,(long)sizeof(*mem));
435 435
436 return vb; 436 return vb;