Commit ce9626ea authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

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: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5a673964
...@@ -833,6 +833,9 @@ int ssb_bus_pcibus_register(struct ssb_bus *bus, ...@@ -833,6 +833,9 @@ int ssb_bus_pcibus_register(struct ssb_bus *bus,
if (!err) { if (!err) {
ssb_printk(KERN_INFO PFX "Sonics Silicon Backplane found on " ssb_printk(KERN_INFO PFX "Sonics Silicon Backplane found on "
"PCI device %s\n", dev_name(&host_pci->dev)); "PCI device %s\n", dev_name(&host_pci->dev));
} else {
ssb_printk(KERN_ERR PFX "Failed to register PCI version"
" of SSB with error %d\n", err);
} }
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment