From: Hans Verkuil Date: Sat, 13 Dec 2014 11:52:54 +0000 (-0300) Subject: [media] videobuf2-vmalloc: fix sparse warning X-Git-Tag: fixes-v4.0-rc1~147^2~286 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c424dd14fcf4c2905778ecd3f1ad10c5a097b5b;p=pandora-kernel.git [media] videobuf2-vmalloc: fix sparse warning Fix this warning: drivers/media/v4l2-core/videobuf2-vmalloc.c:98:28: warning: incorrect type in assignment (different address spaces) drivers/media/v4l2-core/videobuf2-vmalloc.c:158:28: warning: incorrect type in argument 1 (different address spaces) The warning is correct, but we have no other choice here to forcibly cast. At least it is now explicit that such a cast is needed. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed