[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110802140215.008ecfa6@schatten.dmk.lab>
Date: Tue, 2 Aug 2011 14:02:15 +0200
From: Florian Mickler <florian@...kler.org>
To: Dan Carpenter <error27@...il.com>
Cc: linux-kernel@...r.kernel.org, Tino Keitel <tino.keitel@...ei.de>,
mchehab@...radead.org
Subject: Re: USB related "unable to handle kernel paging request" in
3.0.0-rc7
On Tue, 2 Aug 2011 14:35:54 +0300
Dan Carpenter <error27@...il.com> wrote:
> On Tue, Aug 02, 2011 at 12:40:28PM +0200, Florian Mickler wrote:
> > This should fix it.
> >
>
> That's not right. You should just make .size_of_priv = 20 with a
> comment.
Right. Don't know why I didn't do so right from the start. The thing
is, the buffer has to be seperately allocated from the heap in order
for it to be used as a dma target.
I probably overlooked that that is what actually happens in
dvb_usb_device_init. Or realized and changed everything accordingly but
forgot the .size_of_priv. ?
Anyway, that is what you get if you can't actually test what you do.
(Sorry Tino! The original patch submission had a big fat warning
that it was only compile tested, but that got lost somewhere along
the line...)
>
> regards,
> dan carpenter
>
Thx,
Flo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists