diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-03-02 03:26:56 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-03-02 03:26:56 +0000 |
commit | 82ed3cb0e4bf60f58b13368aa3a4a4f7e7ff9a57 (patch) | |
tree | 5bd2a812e226bbbed40dc3a42e25905b3df82741 /sys/dev/scc | |
parent | 33c6a6670fe7433d659d4d6fd72306bf9ea7ddde (diff) | |
download | src-82ed3cb0e4bf60f58b13368aa3a4a4f7e7ff9a57.tar.gz src-82ed3cb0e4bf60f58b13368aa3a4a4f7e7ff9a57.zip |
Replace some more default range checks with RMAN_IS_DEFAULT_RANGE().
This is a follow-on to r295832.
Notes
Notes:
svn path=/head/; revision=296298
Diffstat (limited to 'sys/dev/scc')
-rw-r--r-- | sys/dev/scc/scc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/scc/scc_core.c b/sys/dev/scc/scc_core.c index 905fc64ea153..4471b9a20f72 100644 --- a/sys/dev/scc/scc_core.c +++ b/sys/dev/scc/scc_core.c @@ -417,7 +417,7 @@ scc_bus_alloc_resource(device_t dev, device_t child, int type, int *rid, return (NULL); /* We only support default allocations. */ - if (start != 0UL || end != ~0UL) + if (!RMAN_IS_DEFAULT_RANGE(start, end)) return (NULL); m = device_get_ivars(child); |