Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98693
b: refs/heads/master
c: 77b96bd
h: refs/heads/master
i:
  98691: 553a634
v: v3
  • Loading branch information
Stephen M. Cameron authored and Linus Torvalds committed Jul 4, 2008
1 parent 7d21007 commit 47d57ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f93f18cd94626108021c4e681f48d2d99bca5b90
refs/heads/master: 77b96bd7e5ee0b44aed1b77fef5949bc19e8301f
4 changes: 4 additions & 0 deletions trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -3546,6 +3546,10 @@ static int __devinit cciss_init_one(struct pci_dev *pdev,
for (j = 0; j <= hba[i]->highest_lun; j++)
add_disk(hba[i]->gendisk[j]);

/* we must register the controller even if no disks exist */
if (hba[i]->highest_lun == -1)
add_disk(hba[i]->gendisk[0]);

return 1;

clean4:
Expand Down

0 comments on commit 47d57ea

Please sign in to comment.