Page MenuHomeFreeBSD

bug fix: iommu_gas_fini_domain()
ClosedPublic

Authored by br on Nov 16 2020, 11:37 AM.
Tags
None
Referenced Files
F153093956: D27235.id79608.diff
Sun, Apr 19, 2:30 AM
F153044780: D27235.id79599.diff
Sat, Apr 18, 7:53 PM
Unknown Object (File)
Fri, Apr 17, 5:48 AM
Unknown Object (File)
Sat, Apr 11, 12:48 PM
Unknown Object (File)
Sat, Apr 11, 12:10 AM
Unknown Object (File)
Sun, Apr 5, 9:47 AM
Unknown Object (File)
Sun, Apr 5, 9:11 AM
Unknown Object (File)
Sat, Apr 4, 3:40 PM
Subscribers

Details

Summary

iommu_gas_init_domain() sets these two flags, so check them both in iommu_gas_fini_domain()

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Nov 16 2020, 11:37 AM
br created this revision.
sys/dev/iommu/iommu_gas.c
262

Indent for continuation line should be +4 spaces, not tab. () are not needed.

Fix indentation

sys/dev/iommu/iommu_gas.c
262

() are needed it seems:

sys/dev/iommu/iommu_gas.c:262:28: error: | has lower precedence than ==; == will be evaluated first [-Werror,-Wparentheses]

IOMMU_MAP_ENTRY_PLACE | IOMMU_MAP_ENTRY_UNMAPPED,
This revision is now accepted and ready to land.Nov 16 2020, 12:42 PM