From: Larry Finger Date: Fri, 23 Apr 2010 18:17:21 +0000 (-0500) Subject: ssb: Make bus registration failure not be silent X-Git-Tag: accepted/tizen/common/20141203.182822~11715^2~167^2~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce9626eae243b788993fedc03f30e2d1cb178c7a;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index 03dfd27..009e320 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c @@ -833,6 +833,9 @@ int ssb_bus_pcibus_register(struct ssb_bus *bus, if (!err) { ssb_printk(KERN_INFO PFX "Sonics Silicon Backplane found on " "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;