Page MenuHomeFreeBSD

D15770.id43670.diff
No OneTemporary

D15770.id43670.diff

Index: head/sys/dev/ofw/ofw_bus_subr.c
===================================================================
--- head/sys/dev/ofw/ofw_bus_subr.c
+++ head/sys/dev/ofw/ofw_bus_subr.c
@@ -91,6 +91,9 @@
{
*buf = '\0';
+ if (!ofw_bus_status_okay(child))
+ return (0);
+
if (ofw_bus_get_name(child) != NULL) {
strlcat(buf, "name=", buflen);
strlcat(buf, ofw_bus_get_name(child), buflen);
@@ -100,6 +103,7 @@
strlcat(buf, " compat=", buflen);
strlcat(buf, ofw_bus_get_compat(child), buflen);
}
+
return (0);
};

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 22, 11:31 AM (17 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24035071
Default Alt Text
D15770.id43670.diff (529 B)

Event Timeline