Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200044
b: refs/heads/master
c: 3ef288a
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed May 10, 2010
1 parent 2a5b458 commit c11d66a
Show file tree
Hide file tree
Showing 2 changed files with 8 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: b990538a78ea84e89551ccaddf182beb5e16e6d2
refs/heads/master: 3ef288a98307adc9d3f83321b26281567f348ec6
8 changes: 7 additions & 1 deletion trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,13 @@ static int __init i7core_init(void)

pci_rc = pci_register_driver(&i7core_driver);

return (pci_rc < 0) ? pci_rc : 0;
if (pci_rc >= 0)
return 0;

i7core_printk(KERN_ERR, "Failed to register device with error %d.\n",
pci_rc);

return pci_rc;
}

/*
Expand Down

0 comments on commit c11d66a

Please sign in to comment.