tulip_busdma_cleanup: pass correct vaddr (2nd arg) to bus_dmamem_free()
Found with: Coverity Prevent(tm) CID: 1998
This commit is contained in:
parent
aa812d9e2a
commit
7c9d6ad424
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user