Move another range check to use RMAN_IS_DEFAULT_RANGE().
This commit is contained in:
parent
90bae55a77
commit
f7dc5935d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296141
@ -674,7 +674,7 @@ lbc_alloc_resource(device_t bus, device_t child, int type, int *rid,
|
||||
int needactivate;
|
||||
|
||||
/* We only support default allocations. */
|
||||
if (start != 0ul || end != ~0ul)
|
||||
if (!RMAN_IS_DEFAULT_RANGE(start, end))
|
||||
return (NULL);
|
||||
|
||||
sc = device_get_softc(bus);
|
||||
|
Loading…
Reference in New Issue
Block a user