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

From: Tino Keitel
Date: Wed Aug 03 2011 - 15:02:13 EST


On Tue, Aug 02, 2011 at 14:29:05 +0200, Florian Mickler 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.
>
> Reported-by: Tino Keitel <tino.keitel@xxxxxxxx>
> Reported-by: Dan Carpenter <error27@xxxxxxxxx>
> Signed-off-by: Florian Mickler <florian@xxxxxxxxxxx>
> ---
>
> Tino, can you test this?

Hi,

thanks for the patch. It works fine on top of 3.0. No more Oops at
boot, and the DVB-T receiver is working.

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/