summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorZhao, Yu <yu.zhao@intel.com>2008-09-22 10:26:05 +0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-20 21:54:25 +0400
commitc8761fe80ed052634153438405c9048611ae7ae1 (patch)
tree4a8a58efa1260310c96c7f1d9e08f11cd042e71c /drivers/ide
parent11d587429e9cbb40ac20d7ed8126c66da0d7aba5 (diff)
downloadlinux-c8761fe80ed052634153438405c9048611ae7ae1.tar.xz
PCI: fix hotplug get_##name return value problem
Currently, get_##name in pci_hotplug_core.c will return 0 if module unload wins the race between unload & reading the hotplug file. Fix that case to return -ENODEV like it should. Reviewed-by: Alex Chiang <achiang@hp.com> Reviewed-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Yu Zhao <yu.zhao@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions