diff options
Diffstat (limited to 'sys/dev/puc')
-rw-r--r-- | sys/dev/puc/puc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c index 18d2fba..4cba354 100644 --- a/sys/dev/puc/puc.c +++ b/sys/dev/puc/puc.c @@ -248,7 +248,7 @@ puc_attach(device_t dev, const struct puc_device_description *desc) rle->res = sc->sc_bar_mappings[bidx].res; } else { rle->res = malloc(sizeof(struct resource), M_DEVBUF, - M_WAITOK | M_ZERO); + M_ZERO); if (rle->res == NULL) { free(pdev, M_DEVBUF); return (ENOMEM); |