Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mii/mii.c
Context not available. | |||||
ivars->mii_flags = flags; | ivars->mii_flags = flags; | ||||
*miibus = device_add_child(dev, "miibus", -1); | *miibus = device_add_child(dev, "miibus", -1); | ||||
if (*miibus == NULL) { | if (*miibus == NULL) { | ||||
printf("%s: can't add child\n", __func__); | |||||
andrew: Seems unrelated? | |||||
Done Inline ActionsAgreed, both changes in this file are unrelated. jhb: Agreed, both changes in this file are unrelated. | |||||
Not Done Inline ActionsThought I removed these from my last diff. Guess I hadn't cleaned up everything. jhibbits: Thought I removed these from my last diff. Guess I hadn't cleaned up everything. | |||||
rv = ENXIO; | rv = ENXIO; | ||||
goto fail; | goto fail; | ||||
} | } | ||||
Context not available. | |||||
goto fail; | goto fail; | ||||
free(children, M_TEMP); | free(children, M_TEMP); | ||||
if (nchildren == 0) { | if (nchildren == 0) { | ||||
printf("%s: no children to enumerate\n", __func__); | |||||
rv = ENXIO; | rv = ENXIO; | ||||
goto fail; | goto fail; | ||||
} | } | ||||
Context not available. |
Seems unrelated?