Re: [PATCH] [media] vp7045: fix buffer setup

From: Tino Keitel
Date: Wed Aug 24 2011 - 12:26:24 EST


On Fri, Aug 19, 2011 at 18:35:21 +0200, Florian Mickler wrote:
> On Wed, 10 Aug 2011 12:05:20 +0200
> Florian Mickler <florian@xxxxxxxxxxx> wrote:
>
> > dvb_usb_device_init calls the frontend_attach method of this driver which
> > uses vp7045_usb_ob. In order to have a buffer ready in vp7045_usb_op, it has to
> > be allocated before that happens.
> >
> > Luckily we can use the whole private data as the buffer as it gets separately
> > allocated on the heap via kzalloc in dvb_usb_device_init and is thus apt for
> > use via usb_control_msg.
> >
> > This fixes a
> > BUG: unable to handle kernel paging request at 0000000000001e78
> >
> > reported by Tino Keitel and diagnosed by Dan Carpenter.
> >
> > References: https://bugzilla.kernel.org/show_bug.cgi?id=40062
> > Cc: v3.0.y <stable@xxxxxxxxxx>
> > Tested-by: Tino Keitel <tino.keitel@xxxxxxxx>
> > Signed-off-by: Florian Mickler <florian@xxxxxxxxxxx>
>
> ...ping...

Even pinger. I can't see the patch in 3.1 git yet, and I'm using the
patch on 3.0 kernels for 2 weeks now without problems.

Regards,
Tino
--
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/