diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2010-04-23 14:17:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-26 14:21:23 -0400 |
commit | ce9626eae243b788993fedc03f30e2d1cb178c7a (patch) | |
tree | a5df81baa2cc680bd71b35c2d840b1dc914e7521 /drivers/ssb | |
parent | 5a673964266438784b4ebf65ee07970cde61ab5e (diff) |
ssb: Make bus registration failure not be silent
In kernel Bugzilla #15825, a case where routine ssb_bus_pcibus_register()
fails silently is reported. The cause for the failure is still being
investigated; however, the diagnosis would be easier if the failure
had been reported.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index 03dfd27c4bfb..009e3204caac 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c | |||
@@ -833,6 +833,9 @@ int ssb_bus_pcibus_register(struct ssb_bus *bus, | |||
833 | if (!err) { | 833 | if (!err) { |
834 | ssb_printk(KERN_INFO PFX "Sonics Silicon Backplane found on " | 834 | ssb_printk(KERN_INFO PFX "Sonics Silicon Backplane found on " |
835 | "PCI device %s\n", dev_name(&host_pci->dev)); | 835 | "PCI device %s\n", dev_name(&host_pci->dev)); |
836 | } else { | ||
837 | ssb_printk(KERN_ERR PFX "Failed to register PCI version" | ||
838 | " of SSB with error %d\n", err); | ||
836 | } | 839 | } |
837 | 840 | ||
838 | return err; | 841 | return err; |