RE: [PATCH v10 08/12] iommu/sva: Refactoring iommu_sva_bind/unbind_device()
From: Tian, Kevin
Date: Wed Jul 06 2022 - 21:57:08 EST
> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Sent: Tuesday, July 5, 2022 1:07 PM
>
> +struct iommu_sva *iommu_sva_bind_device(struct device *dev, struct
> mm_struct *mm)
> +{
> + struct iommu_domain *domain;
> + ioasid_t max_pasids;
> + int ret = -EINVAL;
-EINVAL is not used.
Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>