mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
Explicitely set the "allocbuffer" field to NULL when creating a new dmamap.
This commit is contained in:
parent
223d2768ad
commit
5bbbbe1b2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161618
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue