Am Mittwoch, 4. April 2007 07:46 schrieb Pu Jiangbo:
> Dear all,
>
> I've tried to port usb-stimulus.c into kernel 2.6.18. When it comes into
> stimulus_open:
> if ( usb_submit_urb( &dev->int_urb, GFP_KERNEL ) ), system seemed to call
> "kref_get()" and
> receive BUG warnings(and after that, linux went into halt). I couldn't figure
> out why?
Allocate the URB separately with usb_alloc_urb()
HTH
Oliver
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel