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

From: Florian Mickler
Date: Fri Aug 19 2011 - 12:35:51 EST


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...
--
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/