HomeFreeBSD

iommu_gas: Correct a broken KASSERT

Description

iommu_gas: Correct a broken KASSERT

If iommu_gas_find_space() ever called iommu_gas_uppermatch(), and it
succeeded in allocating space, then the subsequent KASSERT would be
triggered. Change that KASSERT to accept either success or ENOMEM.

MFC after: 1 week

Details

Provenance
alcAuthored on Jun 17 2022, 5:03 PM
Parents
rGad0a7ea65084: kldload: Bring functionality in line with manual page
Branches
Unknown
Tags
Unknown