summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-15 14:30:40 +0000
committerpfg <pfg@FreeBSD.org>2016-04-15 14:30:40 +0000
commit20566177418590640449d2b402ddaa8e307b265e (patch)
tree611610be5f693b33447a60ed3d0c42a592f4de0f /sys/arm/xscale
parent09cc69da94ad26d463004506b1bb2db36973a6da (diff)
downloadFreeBSD-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/arm/xscale')
-rw-r--r--sys/arm/xscale/ixp425/ixp425_qmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/xscale/ixp425/ixp425_qmgr.c b/sys/arm/xscale/ixp425/ixp425_qmgr.c
index cb6c8de..822623c 100644
--- a/sys/arm/xscale/ixp425/ixp425_qmgr.c
+++ b/sys/arm/xscale/ixp425/ixp425_qmgr.c
@@ -355,7 +355,7 @@ ixpqmgr_qconfig(int qId, int qEntries, int ne, int nf, int srcSel,
if (cb == NULL) {
/* Reset to dummy callback */
qi->cb = dummyCallback;
- qi->cbarg = 0;
+ qi->cbarg = NULL;
} else {
qi->cb = cb;
qi->cbarg = cbarg;
OpenPOWER on IntegriCloud