diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-15 14:30:40 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-15 14:30:40 +0000 |
commit | 20566177418590640449d2b402ddaa8e307b265e (patch) | |
tree | 611610be5f693b33447a60ed3d0c42a592f4de0f /sys/arm64 | |
parent | 09cc69da94ad26d463004506b1bb2db36973a6da (diff) | |
download | FreeBSD-src-20566177418590640449d2b402ddaa8e307b265e.zip FreeBSD-src-20566177418590640449d2b402ddaa8e307b265e.tar.gz |
arm: for pointers replace 0 with NULL.
These are mostly cosmetical, no functional change.
Found with devel/coccinelle.
Diffstat (limited to 'sys/arm64')
-rw-r--r-- | sys/arm64/arm64/nexus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/arm64/nexus.c b/sys/arm64/arm64/nexus.c index f48a7aa..ec71409 100644 --- a/sys/arm64/arm64/nexus.c +++ b/sys/arm64/arm64/nexus.c @@ -250,7 +250,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, } rv = rman_reserve_resource(rm, start, end, count, flags, child); - if (rv == 0) + if (rv == NULL) return (NULL); rman_set_rid(rv, *rid); |