Commit e8be17fa authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: vio fixup

From: Anton Blanchard <anton@samba.org>

vi fixup
parent b3646f19
...@@ -149,8 +149,9 @@ vio_bus_init(void) ...@@ -149,8 +149,9 @@ vio_bus_init(void)
* Functionally takes the place of pci_scan_bus * Functionally takes the place of pci_scan_bus
*/ */
node_vroot = find_devices("vdevice"); node_vroot = find_devices("vdevice");
if (!node_vroot) { if ((node_vroot == NULL) || (node_vroot->child == NULL)) {
printk(KERN_WARNING "%s: no /vdevice node\n", __FUNCTION__); printk(KERN_INFO "VIO: missing or empty /vdevice node; no virtual IO"
" devices present.\n");
return 0; return 0;
} }
......
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