(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Sun, 14 Jun 2009 03:58:48 GMT bugzilla-daemon@xxxxxxxxxxxxxxxxxxx wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=13530 > > Summary: failed to rmmod g_file_storage.ko > Product: Drivers > Version: 2.5 > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: USB > AssignedTo: greg@xxxxxxxxx > ReportedBy: liubaoyan2003@xxxxxxx > Regression: No > > > 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? -- 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