diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2008-09-29 08:37:05 (GMT) |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-20 18:01:50 (GMT) |
commit | bd1d9855be3ab8a5c2b31053d464b7fe63e6963b (patch) | |
tree | afcef4f9a3716fa7c30f8aa1c234f7690f845926 /lib/dec_and_lock.c | |
parent | e5665a45fa28d0114f61b5d534a3b2678592219d (diff) | |
download | linux-bd1d9855be3ab8a5c2b31053d464b7fe63e6963b.tar.xz |
PCI hotplug: fix get_##name return value problem
The commit 356a9d6f3dd283f83861adf1ac909879f0e66411 (PCI: fix hotplug
get_##name return value problem) doesn't seem to be merged properly.
Because of this, PCI hotplug no longer works (Read/Write PCI hotplug
files always returns -ENODEV).
This patch fixes wrong check of try_module_get() return value check in
get_##name().
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions