[PATCH 02/10] iommmu/of: Do not return struct iommu_ops from of_iommu_configure()
Baolu Lu
baolu.lu at linux.intel.com
Tue Nov 28 19:09:14 PST 2023
On 2023/11/29 8:47, Jason Gunthorpe wrote:
> Nothing needs this pointer. Return a normal error code with the usual
> IOMMU semantic that ENODEV means 'there is no IOMMU driver'.
>
> Reviewed-by: Jerry Snitselaar<jsnitsel at redhat.com>
> Acked-by: Rob Herring<robh at kernel.org>
> Tested-by: Hector Martin<marcan at marcan.st>
> Signed-off-by: Jason Gunthorpe<jgg at nvidia.com>
> ---
> drivers/iommu/of_iommu.c | 31 +++++++++++++++++++------------
> drivers/of/device.c | 22 +++++++++++++++-------
> include/linux/of_iommu.h | 13 ++++++-------
> 3 files changed, 40 insertions(+), 26 deletions(-)
Reviewed-by: Lu Baolu <baolu.lu at linux.intel.com>
Best regards,
baolu
More information about the linux-riscv
mailing list