svn commit: r188396 - head/sys/dev/de
Max Khon
fjoe at FreeBSD.org
Mon Feb 9 09:07:30 PST 2009
Author: fjoe
Date: Mon Feb 9 17:07:29 2009
New Revision: 188396
URL: http://svn.freebsd.org/changeset/base/188396
Log:
tulip_busdma_cleanup: pass correct vaddr (2nd arg) to bus_dmamem_free()
Found with: Coverity Prevent(tm)
CID: 1998
Modified:
head/sys/dev/de/if_de.c
Modified: head/sys/dev/de/if_de.c
==============================================================================
--- head/sys/dev/de/if_de.c Mon Feb 9 17:02:54 2009 (r188395)
+++ head/sys/dev/de/if_de.c Mon Feb 9 17:07:29 2009 (r188396)
@@ -4561,7 +4561,7 @@ tulip_busdma_cleanup(tulip_softc_t * con
sc->tulip_setup_dma_addr = 0;
}
if (sc->tulip_setupbuf != NULL) {
- bus_dmamem_free(sc->tulip_setup_tag, sc->tulip_setupdata,
+ bus_dmamem_free(sc->tulip_setup_tag, sc->tulip_setupbuf,
sc->tulip_setup_map);
sc->tulip_setup_map = NULL;
sc->tulip_setupbuf = NULL;
More information about the svn-src-head
mailing list