device_def_domain_type documentation header does not match implementation
From: Diederik de Haas
Date: Thu May 30 2024 - 09:58:01 EST
Hi,
While looking into ``drivers/iommu/intel/iommu.c::device_def_domain_type``
function I noticed a discrepancy between the documentation header and the
implementation.
``@startup: true if this is during early boot``
0e31a7266508 ("iommu/vt-d: Remove startup parameter from
device_def_domain_type()")
removed the ``startup`` function parameter
returns ``IOMMU_DOMAIN_DMA: device requires a dynamic mapping domain``
28b41e2c6aeb ("iommu: Move def_domain type check for untrusted device into
core")
moved the possible return of ``IOMMU_DOMAIN_DMA`` to ``drivers/iommu/iommu.c``
But neither updated the documentation header.
Cheers,
DiederikAttachment:
signature.asc
Description: This is a digitally signed message part.