mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Setting the rid of the resource is a good idea, but we still need to return
the resource after.
This commit is contained in:
parent
ac7050c114
commit
4687ab54e3
1 changed files with 1 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ iq80321_alloc_resource(device_t dev, device_t child, int type, int *rid,
|
|||
start, end, count, flags, child);
|
||||
if (rv != NULL)
|
||||
rman_set_rid(rv, *rid);
|
||||
return (rv);
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue