summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa/fore_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hfa/fore_stats.c')
-rw-r--r--sys/dev/hfa/fore_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hfa/fore_stats.c b/sys/dev/hfa/fore_stats.c
index 3440334..17f1657 100644
--- a/sys/dev/hfa/fore_stats.c
+++ b/sys/dev/hfa/fore_stats.c
@@ -147,7 +147,7 @@ fore_get_stats(fup)
(*hcp->hcq_status) = QSTAT_PENDING;
dma = vtophys(fup->fu_stats);
- if (dma == NULL) {
+ if (dma == 0) {
fup->fu_stats->st_drv.drv_cm_nodma++;
(void) splx(s);
return (EIO);
OpenPOWER on IntegriCloud