Re: BUG: 'Unknown symbol in module' happens after reloading ehci-hcd module

From: Ming Lei
Date: Wed Jul 28 2010 - 10:36:25 EST


2010/7/28 Greg KH <greg@xxxxxxxxx>:
> On Wed, Jul 28, 2010 at 03:33:30PM +0800, Ming Lei wrote:
>> 2010/7/28 Ming Lei <tom.leiming@xxxxxxxxx>:
>> > Hi,
>> >
>> > 'Unknown symbol in module' ?happens after the actions below:
>> >
>> > ? ? ? ? rmmod ehci-hcd
>> > ? ? ? ? modprobe ehci-hcd
>> >
>>
>> The issue is caused by returning failure of debugfs_create_dir, and
>> which may be fixed by replacing debugfs_remove with
>> debugfs_remove_recursive in ehci_hcd_cleanup.
>
> Or we can properly clean up all of the files, right?
>
> Care to send a patch to resolve this?

Sent, follows the patch's title:

USB: ehci: fix remove of ehci debugfs dir

thanks,

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