[media] media: videobuf2-dma-contig: quiet sparse noise about plain integer as NULL...
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 24 Apr 2012 22:12:48 +0000 (19:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 May 2012 17:35:14 +0000 (14:35 -0300)
commit121b3ddbe4ad17df77cb7284239be0a63d9a66bd
tree740808a5a5eaed86386076d600310858060396f3
parentd0df3c384766b11ca118ceac9a3acdc0d76239b1
[media] media: videobuf2-dma-contig: quiet sparse noise about plain integer as NULL pointer

The function vb2_dma_contig_vaddr returns a void * not an integer.

Quiets the sparse noise:

warning: Using plain integer as NULL pointer

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Pawel Osciak <pawel@osciak.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-dma-contig.c