Re: usb-serial lockdep trace in linus' current tree.

From: Dave Jones
Date: Thu Nov 07 2013 - 19:25:12 EST


On Fri, Nov 08, 2013 at 01:09:03AM +0100, Johan Hovold wrote:

> A recent change in usb-serial used the wrong memory-allocation flag in
> write(), which results in a
>
> [ 5.979005] BUG: sleeping function called from invalid context at /home/johan/src/linux/linux-nu/mm/dmapool.c:310
>
> with usb-next when using a usb-serial console as you seem to do be doing
> as well.
>
> Could be related. Care to give the fix below a try?

Seems to work. Feel free to add

Tested-by: Dave Jones <davej@xxxxxxxxxxxxxxxxx>

if this is the agreed upon fix for this.

thanks,

Dave

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