summaryrefslogtreecommitdiff
path: root/sys/dev/pci/hifn7751.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-08-14 15:20:30 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-08-14 15:20:30 +0000
commit0e8986d036e9f3924367cde1cd1c0b87f9f6f9a0 (patch)
tree59717c99fefe6bdc377fd93065825e032e28e981 /sys/dev/pci/hifn7751.c
parent5af369cda4cea19679171ef5c7f907af3f2cfbff (diff)
kill unneeded caddr_t casts for *_copyback
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
-rw-r--r--sys/dev/pci/hifn7751.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index 3f4fc02cd83..a629cc20f50 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.140 2003/08/01 17:55:54 deraadt Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.141 2003/08/14 15:20:29 jason Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -2202,11 +2202,11 @@ hifn_callback(struct hifn_softc *sc, struct hifn_command *cmd,
if (crp->crp_flags & CRYPTO_F_IMBUF)
m_copyback((struct mbuf *)crp->crp_buf,
cmd->src_map->dm_mapsize - cmd->sloplen,
- cmd->sloplen, (caddr_t)&dma->slop[cmd->slopidx]);
+ cmd->sloplen, &dma->slop[cmd->slopidx]);
else if (crp->crp_flags & CRYPTO_F_IOV)
cuio_copyback((struct uio *)crp->crp_buf,
cmd->src_map->dm_mapsize - cmd->sloplen,
- cmd->sloplen, (caddr_t)&dma->slop[cmd->slopidx]);
+ cmd->sloplen, &dma->slop[cmd->slopidx]);
}
i = dma->dstk; u = dma->dstu;