diff options
author | Chuck Ebbert <cebbert@redhat.com> | 2007-08-07 11:27:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-08-09 14:27:46 -0700 |
commit | 2547c387c41e5dda43f7a484a46b40ae0b491aef (patch) | |
tree | 36ebf6732c916bf04b873ef4f78db5e61b045979 /net | |
parent | 749de926ff8a21e94a6771ad02fff49d99dc2a90 (diff) | |
download | linux-stable-2547c387c41e5dda43f7a484a46b40ae0b491aef.tar.gz linux-stable-2547c387c41e5dda43f7a484a46b40ae0b491aef.tar.bz2 linux-stable-2547c387c41e5dda43f7a484a46b40ae0b491aef.zip |
ACPI: dock: fix opps after dock driver fails to initialize
ACPI: dock: fix opps 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-by: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions