aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/videobuf2-dma-contig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf2-dma-contig.c b/drivers/media/video/videobuf2-dma-contig.c
index f17ad98fcc5f..7de6843a1928 100644
--- a/drivers/media/video/videobuf2-dma-contig.c
+++ b/drivers/media/video/videobuf2-dma-contig.c
@@ -85,7 +85,7 @@ static void *vb2_dma_contig_vaddr(void *buf_priv)
85{ 85{
86 struct vb2_dc_buf *buf = buf_priv; 86 struct vb2_dc_buf *buf = buf_priv;
87 if (!buf) 87 if (!buf)
88 return 0; 88 return NULL;
89 89
90 return buf->vaddr; 90 return buf->vaddr;
91} 91}