Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323245
b: refs/heads/master
c: 5c42ea1
h: refs/heads/master
i:
  323243: f98b5b0
v: v3
  • Loading branch information
Keith Busch authored and Matthew Wilcox committed Jul 26, 2012
1 parent daf2217 commit fbe8343
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: e9ef46369f5107e634a93b7fc4e62a1f53343197
refs/heads/master: 5c42ea1643a630060f9e71e06d3933d244970967
6 changes: 4 additions & 2 deletions trunk/drivers/block/nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1716,9 +1716,11 @@ static int __init nvme_init(void)
if (IS_ERR(nvme_thread))
return PTR_ERR(nvme_thread);

nvme_major = register_blkdev(nvme_major, "nvme");
if (nvme_major <= 0)
result = register_blkdev(nvme_major, "nvme");
if (result < 0)
goto kill_kthread;
else if (result > 0)
nvme_major = result;

result = pci_register_driver(&nvme_driver);
if (result)
Expand Down

0 comments on commit fbe8343

Please sign in to comment.