[linux-dvb] [akpm@xxxxxxxx: [linux-dvb-maintainer] Fw: [Bugme-new] [Bug 4370] New: Pinnacle PCI SAT-TV card: cx24110 frontend ioctl32 error]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luca Abeni <lucabe72@xxxxxxxx> writes:

> +static long fops_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
> +{
> +/*
> +	DEB_EE(("inode:%p, file:%p, cmd:%d, arg:%li\n",inode, file, cmd, arg));
> +*/
> +	return video_usercopy(NULL, file, cmd, arg, saa7146_video_do_ioctl);
> +}
>  static int fops_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
>  {
>  /*
> @@ -417,6 +424,7 @@ static struct file_operations video_fops
>  	.poll		= fops_poll,
>  	.mmap		= fops_mmap,
>  	.ioctl		= fops_ioctl,
> +	.compat_ioctl	= fops_ioctl32,
>  	.llseek		= no_llseek,
>  };

Uhm, that's the v4l2 ioctl function, isn't it?  That one certainly
isn't that easy, struct v4l2_buffer for example isn't identical in 32
and 64 bit.

  Gerd

-- 
-mm seems unusually stable at present.
	-- akpm about 2.6.12-rc3-mm3



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux