Re: [patch] ACPI: fix oops after dock driver fails to initialize

2007-05-09 Thread Andrew Morton
On Tue, 08 May 2007 18:39:55 -0400 Chuck Ebbert <[EMAIL PROTECTED]> wrote: > You didn't write much. Oh, it was an attachment. thwap. > ACPI: fix oops after dock driver fails to initialize > > The driver tests the dock_station pointer for nonnull > to check whether it has initialized properly

[patch] ACPI: fix oops after dock driver fails to initialize

2007-05-08 Thread Chuck Ebbert
ACPI: fix oops after dock driver fails to initialize The driver tests the dock_station pointer for nonnull to check whether it has initialized properly. But in some cases dock_station will be non-null after being freed when driver init fails. Fix by zeroing the pointer after freeing. Signed-off-b