diff options
author | fjoe <fjoe@FreeBSD.org> | 2009-02-09 17:07:29 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2009-02-09 17:07:29 +0000 |
commit | 6de6ef2c054de37445adc305b0db58b7849e8268 (patch) | |
tree | 455f5a332b36b0b741f0f762d5805d17206a3919 /sys/dev | |
parent | 5194173e3fb8f672cb52ea0b403ecf99b4a9263b (diff) | |
download | FreeBSD-src-6de6ef2c054de37445adc305b0db58b7849e8268.zip FreeBSD-src-6de6ef2c054de37445adc305b0db58b7849e8268.tar.gz |
tulip_busdma_cleanup: pass correct vaddr (2nd arg) to bus_dmamem_free()
Found with: Coverity Prevent(tm)
CID: 1998
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/de/if_de.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 81335c1..cda4d3b 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -4561,7 +4561,7 @@ tulip_busdma_cleanup(tulip_softc_t * const sc) 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; |