On 08/04/2019 13:18, Eric Auger wrote:
> +int iommu_cache_invalidate(struct iommu_domain *domain, struct device *dev,
> +                        struct iommu_cache_invalidate_info *inv_info)
> +{
> +     int ret = 0;
> +
> +     if (unlikely(!domain->ops->cache_invalidate))
> +             return -ENODEV;
> +
> +     ret = domain->ops->cache_invalidate(domain, dev, inv_info);
> +
> +     return ret;

Nit: you don't really need ret

The UAPI looks good to me, so

Reviewed-by: Jean-Philippe Brucker <jean-philippe.bruc...@arm.com>
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to