]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI hotplug: fix error path in pci_slot's register_slot
authorAlex Chiang <achiang@hp.com>
Thu, 17 Jul 2008 17:13:32 +0000 (11:13 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 22 Jul 2008 18:18:17 +0000 (11:18 -0700)
commite4268aad42e9f37d01925022830b16bab3d0d5af
tree343b114454c8a82cf3d6eb83d601253d63b6d33c
parent93ded9b8fd42abe2c3607097963d8de6ad9117eb
PCI hotplug: fix error path in pci_slot's register_slot

Juha Leppnen noticed that an error path in register_slot() wasn't
returning appropriately, leading to a condition where we might access a
kfree'ed pointer, so let's fix that.

Additionally, fix up the copyright information in the file while
we're in there.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/acpi/pci_slot.c