Hi Jiri, > if (_IOC_TYPE(cmd)=='v') > - return v4l_compat_translate_ioctl(inode,file,cmd,arg, > +#ifdef CONFIG_VIDEO_V4L1_COMPAT > + if (cmd != VIDIOCGMBUF) /* <-- handled below vvv */ > +#endif > + return v4l_compat_translate_ioctl(inode,file,cmd,arg, > __video_do_ioctl); > I've committed two patches on my -git tree that will fix the issue you're pointing.
In fact, all the above code should be handled only if V4L1_COMPAT is enabled. The fixes are at the following patches: http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commitdiff;h=11fe647ca79d1e6381f954a7fe790a1157c803dc http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commitdiff;h=853fa89dd933b90f820d4bd46a71542bfb3d5967 Cheers, Mauro - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/