summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-01-30 12:54:51 +0200
committerToomas Soome <tsoome@me.com>2020-04-27 19:37:05 +0300
commit52c783061613842808f641364c51ebe598b482d4 (patch)
tree2c4ee72e1ebbd225b79b9cff22e1c3597d329b3d /usr/src
parent3150e93da4db1a6b51b0046c3b48412cb427137c (diff)
downloadillumos-joyent-52c783061613842808f641364c51ebe598b482d4.tar.gz
12567 fd: NULL pointer errors
Reviewed by: Yuri Pankov <ypankov@fastmail.com> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/sun/io/fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/sun/io/fd.c b/usr/src/uts/sun/io/fd.c
index 7a760aa8af..e8dcaca3c1 100644
--- a/usr/src/uts/sun/io/fd.c
+++ b/usr/src/uts/sun/io/fd.c
@@ -6553,7 +6553,7 @@ release_sb_dma(struct fdctlr *fdc)
dma_reg = (struct sb_dma_reg *)fdc->c_dma_regs;
/* Unmask all the channels to release the DMA controller */
ddi_put8(fdc->c_handlep_dma,
- &dma_reg->sb_dma_regs[DMAC1_ALLMASK], NULL);
+ &dma_reg->sb_dma_regs[DMAC1_ALLMASK], 0);
fdc->sb_dma_lock = 0;
}