Re: [Bugme-new] [Bug 13530] New: failed to rmmod g_file_storage.ko

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Jun 2009, Andrew Morton wrote:

> > http://bugzilla.kernel.org/show_bug.cgi?id=13530
> > 
> >            Summary: failed to rmmod g_file_storage.ko

> > i tried to insmod/rmmod g_file_storage.ko on S3C2410 board, insmod successfully
> > but rmmod failed. After debug, found that it's because function
> > fsg_cleanup(file_stoage.c) didn't raise exception FSG_STATE_EXIT or
> > FSG_STATE_TERMINATED. Additionally, memory resource such as fsg->buffhds[i].buf
> > didn't free in function fsg_cleanup.
> > 
> 
> Thanks.  It would be great if you could email us a tested patch which fixes
> this issue?

Hint: It looks like the usb_gadget_unregister_driver() routine in 
s3c2410_udc.c calls driver->disconnect when instead it should call 
driver->unbind.  Compare with the equivalent code in net2280.c.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux