Fix a compile error from the last change.
This commit is contained in:
parent
b8a1761e07
commit
846199b736
@ -409,7 +409,7 @@ ahballoc(device_t dev, struct resource *res)
|
||||
*/
|
||||
ahb = malloc(sizeof(struct ahb_softc), M_DEVBUF, M_NOWAIT | M_ZERO);
|
||||
if (!ahb) {
|
||||
printf("ahb%ld: cannot malloc!\n", unit);
|
||||
device_printf(dev, "cannot malloc!\n");
|
||||
return (NULL);
|
||||
}
|
||||
SLIST_INIT(&ahb->free_ecbs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user