mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix two typos from the last commit
This commit is contained in:
parent
e2bc3704d3
commit
5cf33ce608
2 changed files with 2 additions and 2 deletions
|
|
@ -647,7 +647,7 @@ nexus_dmamem_free(bus_dma_tag_t pdmat, bus_dma_tag_t ddmat, void *vaddr,
|
|||
{
|
||||
|
||||
sparc64_dmamem_free_map(ddmat, map);
|
||||
if ((size <= PAGE_SIZE))
|
||||
if ((ddmat->dt_maxsize <= PAGE_SIZE))
|
||||
free(vaddr, M_DEVBUF);
|
||||
else {
|
||||
mtx_lock(&Giant);
|
||||
|
|
|
|||
|
|
@ -669,7 +669,7 @@ iommu_dvma_vallocseg(bus_dma_tag_t dt, struct iommu_state *is, bus_dmamap_t map,
|
|||
|
||||
int
|
||||
iommu_dvmamem_alloc(bus_dma_tag_t pt, bus_dma_tag_t dt, struct iommu_state *is,
|
||||
void **vaddr, int flags, bus_dmamap_t *mappe)
|
||||
void **vaddr, int flags, bus_dmamap_t *mapp)
|
||||
{
|
||||
int error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue