V4L/DVB: videobuf-dma-sg: Fix a warning due to the usage of min(PAGE_SIZE, arg)
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Oct 2010 00:57:04 +0000 (21:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:21 +0000 (01:06 -0200)
commitd026d8284378110c8629a259caaccae4628f1ce0
treeba59167fc4954bc5c1ea5a112dac46e319fcffff
parent266815e25522879cf10d4a8677f1589b7b67ee68
V4L/DVB: videobuf-dma-sg: Fix a warning due to the usage of min(PAGE_SIZE, arg)

drivers/media/video/videobuf-dma-sg.c: In function ‘videobuf_pages_to_sg’:
drivers/media/video/videobuf-dma-sg.c:119: warning: comparison of distinct pointer types lacks a cast
drivers/media/video/videobuf-dma-sg.c:120: warning: comparison of distinct pointer types lacks a cast

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-dma-sg.c