diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2011-06-16 08:42:31 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2011-06-16 08:42:31 +0000 |
commit | 9b94469b7f0dee8ddd064525bc7579fb889f1580 (patch) | |
tree | aad1c87e66f7792098ba78c1ad8afc95d476e42d /sys/scsi | |
parent | e45080288043e3afebbfd40dece9f18adf3ec44b (diff) |
pass the dma_alloced memory rather than a pointer to its pointer.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/mpath_emc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/mpath_emc.c b/sys/scsi/mpath_emc.c index f06ea575a3f..8384ca62841 100644 --- a/sys/scsi/mpath_emc.c +++ b/sys/scsi/mpath_emc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpath_emc.c,v 1.5 2011/06/15 01:10:50 dlg Exp $ */ +/* $OpenBSD: mpath_emc.c,v 1.6 2011/06/16 08:42:30 dlg Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -288,7 +288,7 @@ emc_sp_info(struct emc_softc *sc) pg = dma_alloc(sizeof(*pg), PR_WAITOK); - error = scsi_inquire_vpd(sc->sc_path.p_link, &pg, sizeof(pg), + error = scsi_inquire_vpd(sc->sc_path.p_link, pg, sizeof(*pg), EMC_VPD_SP_INFO, scsi_autoconf); if (error != 0) goto done; |