1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Explicitely set the "allocbuffer" field to NULL when creating a new dmamap.

This commit is contained in:
Olivier Houchard 2006-08-25 15:10:45 +00:00
parent 223d2768ad
commit 5bbbbe1b2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161618

View File

@ -346,6 +346,7 @@ bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp)
}
*mapp = newmap;
newmap->dmat = dmat;
newmap->allocbuffer = NULL;
dmat->map_count++;
CTR4(KTR_BUSDMA, "%s: tag %p tag flags 0x%x error %d",