Missed a missing M_WAITOK.
This commit is contained in:
parent
a5902eaf0c
commit
b41be772ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111135
@ -229,7 +229,7 @@ fhc_setup_intr(device_t bus, device_t child, struct resource *r, int flags,
|
||||
sc = device_get_softc(bus);
|
||||
rid = rman_get_rid(r);
|
||||
|
||||
fc = malloc(sizeof(*fc), M_DEVBUF, M_ZERO);
|
||||
fc = malloc(sizeof(*fc), M_DEVBUF, M_WAITOK | M_ZERO);
|
||||
fc->fc_func = func;
|
||||
fc->fc_arg = arg;
|
||||
fc->fc_bt = sc->sc_bt[rid];
|
||||
|
Loading…
Reference in New Issue
Block a user