Re: how can I get compat_ioctl support for v4l2_subdev_fops

2014-01-15 Thread Jianle Wang
t_ioctl32' makes pointer from integer without a cast [enabled by default] drivers/media/v4l2-core/v4l2-subdev.c:379:2: note: expected 'void *' but argument is of type 'long unsigned int' 2014/1/15 Hans Verkuil : > On 01/15/14 09:02, Jianle Wang wrote: >> Hi H

Re: how can I get compat_ioctl support for v4l2_subdev_fops

2014-01-15 Thread Jianle Wang
Hi Hans: Thanks for your patch. How do we handle the private ioctl defined in struct v4l2_subdev_core.ioctl? These ioctls are also not supported for compat_ioctl. 2014/1/15 Hans Verkuil : > Hi Jianle, > > On 01/15/2014 07:28 AM, Jianle Wang wrote: >> Hi all, : >> I use th

how can I get compat_ioctl support for v4l2_subdev_fops

2014-01-14 Thread Jianle Wang
Hi all, : I use the media-ctl from http://git.ideasonboard.org/media-ctl.git It is compiled into a 32 bit application. Run on a 64 bit CPU. The version of kernel is 3.10. When call ioctl(, VIDIOC_SUBDEV_S_SELECTION,), meet the below warning: [ 97.186338] c0 707 (drv_test) compat_ioctl32: unknown