Re: [v4l-dvb-maintainer] Re: [PATCH] V4L: struct video_devicecorruption

From: Mauro Carvalho Chehab
Date: Tue Jul 25 2006 - 08:28:12 EST


Andrew,

Em Ter, 2006-07-25 às 02:06 -0700, Andrew Morton escreveu:
> On Tue, 25 Jul 2006 01:42:19 -0700 (PDT)
> Trent Piepho <xyzzy@xxxxxxxxxxxxx> wrote:
>
> > > Do we expect this will fix the various DVB crashes which people (including
> > > Alex) have reported?
> >
> > This problem would only appear if VIDEO_V4L1 was turned off. If it was on,
> > then all the code would agree it was on, and there would be no problems.
> > If the crash is still there when VIDEO_V4L1 = y, then it's not related to
> > this bug.
> >
> > If VIDEO_V4L1 was turned off, then some drivers (one of which is bttv)
> > would have a different struct video_device than the video core code. This
> > would break things so completely that it could crash just about anywhere.
>
> OK, thanks. Alex had
>
> # CONFIG_VIDEO_V4L1 is not set
> # CONFIG_VIDEO_V4L1_COMPAT is not set
> CONFIG_VIDEO_V4L2=y
That's explains the bug.

I'll send this patch, together with several other patches (including
several V4L1 to V4L2 conversions) today to -git.

>
Cheers,
Mauro.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/