Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118420
b: refs/heads/master
c: 2197d18
h: refs/heads/master
v: v3
  • Loading branch information
Andrey Borzenkov authored and Linus Torvalds committed Nov 6, 2008
1 parent f732486 commit a5b3987
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 77ca7286d10b798e4907af941f29672bf484db77
refs/heads/master: 2197d18ded232ef6eef63cce57b6b21eddf1b7b6
7 changes: 6 additions & 1 deletion trunk/drivers/block/cpqarray.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,12 @@ static int __init cpqarray_init(void)
num_cntlrs_reg++;
}

return(num_cntlrs_reg);
if (num_cntlrs_reg)
return 0;
else {
pci_unregister_driver(&cpqarray_pci_driver);
return -ENODEV;
}
}

/* Function to find the first free pointer into our hba[] array */
Expand Down

0 comments on commit a5b3987

Please sign in to comment.