diff options
author | Zhao, Yu <[email protected]> | 2008-09-22 14:26:05 +0800 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2008-10-20 10:54:25 -0700 |
commit | c8761fe80ed052634153438405c9048611ae7ae1 (patch) | |
tree | 4a8a58efa1260310c96c7f1d9e08f11cd042e71c /net/lapb/lapb_out.c | |
parent | 11d587429e9cbb40ac20d7ed8126c66da0d7aba5 (diff) |
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 <[email protected]>
Reviewed-by: Matthew Wilcox <[email protected]>
Signed-off-by: Yu Zhao <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions