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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158319
@ -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 New Issue
Block a user