Re: USB related "unable to handle kernel paging request" in 3.0.0-rc7

From: Dan Carpenter
Date: Tue Aug 02 2011 - 07:58:48 EST


On Tue, Aug 02, 2011 at 01:51:17PM +0200, Florian Mickler wrote:

> ok. I see the problem now. The buffer get's initialzed a little bit too late
> because it already get's used from the dvb_usb_device_init call via the
> frontend attach call:
>
> dvb_usb_device_init->dvb_usb_init->dvb_usb_adapter_init->dvb_usb_adapter_frontend_init->vp7045_frontend_attach->vp7045_usb_op
>
> Hm.. let me think about it. In the meantime, you don't need to test
> this 'fix'.

Yep. That would do it. But my fix would still work nicely.

Don't forget to remove the kfree(d->priv) from vp7045_usb_disconnect()
because that would be automatic now.

regards,
dan carpenter

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