Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41218
b: refs/heads/master
c: 0a9dee2
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent edc59c6 commit 484f52b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 467c442f092e22acf86a3b4ad4863d097d7257da
refs/heads/master: 0a9dee2739fd4385e83c3316e3f3bee641796638
4 changes: 3 additions & 1 deletion trunk/drivers/pci/hotplug/acpiphp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,10 @@ static int __init init_acpi(void)
/* read initial number of slots */
if (!retval) {
num_slots = acpiphp_get_num_slots();
if (num_slots == 0)
if (num_slots == 0) {
acpiphp_glue_exit();
retval = -ENODEV;
}
}

return retval;
Expand Down

0 comments on commit 484f52b

Please sign in to comment.