summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
committerarchie <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
commit7a233d4c9f8562bf331fa9b7d4d1f649521fb602 (patch)
tree2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/dev/hfa
parent7995682a2f9ee27c40a0794821e01853508b55c3 (diff)
downloadFreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.zip
FreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.tar.gz
Replace (ab)uses of "NULL" where "0" is really meant.
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r--sys/dev/hfa/fore_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hfa/fore_buffer.c b/sys/dev/hfa/fore_buffer.c
index a2bd508..47a8f78 100644
--- a/sys/dev/hfa/fore_buffer.c
+++ b/sys/dev/hfa/fore_buffer.c
@@ -406,7 +406,7 @@ fore_buf_supply_1s(fup)
bdp->bsd_handle = bhp;
KB_DATASTART(m, cp, caddr_t);
bhp->bh_dma = bdp->bsd_buffer = vtophys(cp);
- if (bdp->bsd_buffer == NULL) {
+ if (bdp->bsd_buffer == 0) {
/*
* Unable to assign dma address - free up
* this descriptor's buffer
@@ -546,7 +546,7 @@ fore_buf_supply_1l(fup)
bdp->bsd_handle = bhp;
KB_DATASTART(m, cp, caddr_t);
bhp->bh_dma = bdp->bsd_buffer = vtophys(cp);
- if (bdp->bsd_buffer == NULL) {
+ if (bdp->bsd_buffer == 0) {
/*
* Unable to assign dma address - free up
* this descriptor's buffer
OpenPOWER on IntegriCloud