Correct a thinko of mine in the previous change, pointed out by
is@. Even though the argument type changes as an effect of the caddr_t removal, there really is no need to indirect where we didn't before. Instead, add the appropriate cast.
This commit is contained in:
parent
62509c00e0
commit
228e24a143
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bzivsc.c,v 1.22 2007/03/05 18:35:58 he Exp $ */
|
||||
/* $NetBSD: bzivsc.c,v 1.23 2007/03/11 17:34:37 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Michael L. Hitch
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bzivsc.c,v 1.22 2007/03/05 18:35:58 he Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bzivsc.c,v 1.23 2007/03/11 17:34:37 he Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -336,7 +336,7 @@ bzivsc_dma_setup(struct ncr53c9x_softc *sc, void **addr, size_t *len,
|
||||
u_char *ptr;
|
||||
size_t xfer;
|
||||
|
||||
bsc->sc_dmaaddr = *addr;
|
||||
bsc->sc_dmaaddr = (char **)addr;
|
||||
bsc->sc_pdmalen = len;
|
||||
bsc->sc_datain = datain;
|
||||
bsc->sc_dmasize = *dmasize;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bzsc.c,v 1.40 2007/03/05 18:37:31 he Exp $ */
|
||||
/* $NetBSD: bzsc.c,v 1.41 2007/03/11 17:34:38 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Michael L. Hitch
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bzsc.c,v 1.40 2007/03/05 18:37:31 he Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bzsc.c,v 1.41 2007/03/11 17:34:38 he Exp $");
|
||||
|
||||
/*
|
||||
* Initial amiga Blizzard 1230-II driver by Daniel Widenfalk. Conversion to
|
||||
@ -340,7 +340,7 @@ bzsc_dma_setup(struct ncr53c9x_softc *sc, void **addr, size_t *len,
|
||||
u_char *ptr;
|
||||
size_t xfer;
|
||||
|
||||
bsc->sc_dmaaddr = *addr;
|
||||
bsc->sc_dmaaddr = (char **)addr;
|
||||
bsc->sc_pdmalen = len;
|
||||
bsc->sc_datain = datain;
|
||||
bsc->sc_dmasize = *dmasize;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bztzsc.c,v 1.27 2007/03/05 18:38:58 he Exp $ */
|
||||
/* $NetBSD: bztzsc.c,v 1.28 2007/03/11 17:34:38 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Michael L. Hitch
|
||||
@ -42,7 +42,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bztzsc.c,v 1.27 2007/03/05 18:38:58 he Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bztzsc.c,v 1.28 2007/03/11 17:34:38 he Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -345,7 +345,7 @@ bztzsc_dma_setup(struct ncr53c9x_softc *sc, void **addr, size_t *len,
|
||||
u_char *ptr;
|
||||
size_t xfer;
|
||||
|
||||
bsc->sc_dmaaddr = *addr;
|
||||
bsc->sc_dmaaddr = (char **)addr;
|
||||
bsc->sc_pdmalen = len;
|
||||
bsc->sc_datain = datain;
|
||||
bsc->sc_dmasize = *dmasize;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cbiisc.c,v 1.23 2007/03/05 18:41:32 he Exp $ */
|
||||
/* $NetBSD: cbiisc.c,v 1.24 2007/03/11 17:34:38 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Michael L. Hitch
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cbiisc.c,v 1.23 2007/03/05 18:41:32 he Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cbiisc.c,v 1.24 2007/03/11 17:34:38 he Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -337,7 +337,7 @@ cbiisc_dma_setup(struct ncr53c9x_softc *sc, void **addr, size_t *len,
|
||||
u_char *ptr;
|
||||
size_t xfer;
|
||||
|
||||
csc->sc_dmaaddr = *addr;
|
||||
csc->sc_dmaaddr = (char **)addr;
|
||||
csc->sc_pdmalen = len;
|
||||
csc->sc_datain = datain;
|
||||
csc->sc_dmasize = *dmasize;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cbsc.c,v 1.24 2007/03/05 18:41:32 he Exp $ */
|
||||
/* $NetBSD: cbsc.c,v 1.25 2007/03/11 17:34:38 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Michael L. Hitch
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cbsc.c,v 1.24 2007/03/05 18:41:32 he Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cbsc.c,v 1.25 2007/03/11 17:34:38 he Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -344,7 +344,7 @@ cbsc_dma_setup(struct ncr53c9x_softc *sc, void **addr, size_t *len,
|
||||
u_char *ptr;
|
||||
size_t xfer;
|
||||
|
||||
csc->sc_dmaaddr = *addr;
|
||||
csc->sc_dmaaddr = (char **)addr;
|
||||
csc->sc_pdmalen = len;
|
||||
csc->sc_datain = datain;
|
||||
csc->sc_dmasize = *dmasize;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: flsc.c,v 1.39 2007/03/05 18:46:41 he Exp $ */
|
||||
/* $NetBSD: flsc.c,v 1.40 2007/03/11 17:34:38 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Michael L. Hitch
|
||||
@ -44,7 +44,7 @@
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: flsc.c,v 1.39 2007/03/05 18:46:41 he Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: flsc.c,v 1.40 2007/03/11 17:34:38 he Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -485,7 +485,7 @@ flsc_dma_setup(struct ncr53c9x_softc *sc, void **addr, size_t *len,
|
||||
u_char *ptr;
|
||||
size_t xfer;
|
||||
|
||||
fsc->sc_dmaaddr = *addr;
|
||||
fsc->sc_dmaaddr = (char **)addr;
|
||||
fsc->sc_pdmalen = len;
|
||||
fsc->sc_datain = datain;
|
||||
fsc->sc_dmasize = *dmasize;
|
||||
|
Loading…
Reference in New Issue
Block a user