Re: [PATCH] thinkpad acpi module_exit fix

2007-08-08 Thread Henrique de Moraes Holschuh
On Wed, 08 Aug 2007, Dave Young wrote: > [This fix is not very good for the global variable, any comments are > welcome.] > > The thinkpad_acpi module_init fail out entrace is not very properly. if > failing before register driver or before create sysfs file, the > module_exit will try to remove n

Re: [PATCH] thinkpad acpi module_exit fix

2007-08-08 Thread Thomas Renninger
On Wed, 2007-08-08 at 16:43 +, Dave Young wrote: > Hi, > > [This fix is not very good for the global variable, any comments are > welcome.] > > The thinkpad_acpi module_init fail out entrace is not very properly. if > failing before register driver or before create sysfs file, the > module_ex

[PATCH] thinkpad acpi module_exit fix

2007-08-08 Thread Dave Young
Hi, [This fix is not very good for the global variable, any comments are welcome.] The thinkpad_acpi module_init fail out entrace is not very properly. if failing before register driver or before create sysfs file, the module_exit will try to remove nonexist sysfs files, the kernel will oops. Si