From: Hans Verkuil Date: Tue, 6 Apr 2010 11:12:21 +0000 (-0300) Subject: V4L/DVB: video_ioctl2: do not replace arg with NULL for _IO() ioctls X-Git-Tag: v2.6.35-rc1~480^2~216 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d94aa369da073acff26fa98ad6b2168cb028ab1;p=pandora-kernel.git V4L/DVB: video_ioctl2: do not replace arg with NULL for _IO() ioctls If the ioctl was defined without direction (e.g. _IO('o', 25)), then the arg as passed to vidioc_default was NULL instead of the original argument. Several ioctls in e.g. include/linux/dvb/video.h and audio.h use this type of ioctl to pass simple numerical values to the driver. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed