On Fri, May 23, 2025 at 4:30 PM David Matlack <dmatl...@google.com> wrote:
> +static int iommu_mapping_get(const char *bdf, u64 iova,
> +                            struct iommu_mapping *mapping)
> +{
> +       if (access("/sys/kernel/debug/iommu/intel", F_OK))
> +               return intel_iommu_mapping_get(bdf, iova, mapping);
> +

Oops, this should be !access(...).

> +       return -EOPNOTSUPP;
> +}

Reply via email to