commit | e4268aad42e9f37d01925022830b16bab3d0d5af | [log] [tgz] |
---|---|---|
author | Alex Chiang <achiang@hp.com> | Thu Jul 17 11:13:32 2008 -0600 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue Jul 22 11:18:17 2008 -0700 |
tree | 343b114454c8a82cf3d6eb83d601253d63b6d33c | |
parent | 93ded9b8fd42abe2c3607097963d8de6ad9117eb [diff] |
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>