Re: linux-next: build failure after merge of the iommufd tree

From: Jason Gunthorpe
Date: Tue Aug 15 2023 - 07:50:45 EST


On Tue, Aug 15, 2023 at 09:04:37PM +1000, Stephen Rothwell wrote:
> diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
> index 20c9a0501760..1e017e1bf5ea 100644
> --- a/drivers/iommu/iommu.c
> +++ b/drivers/iommu/iommu.c
> @@ -332,7 +332,7 @@ int iommu_device_register_bus(struct iommu_device *iommu,
> spin_unlock(&iommu_device_lock);
>
> bus->iommu_ops = ops;
> - err = bus_iommu_probe(bus);
> + err = bus_iommu_probe(bus, iommu);
> if (err) {
> iommu_device_unregister_bus(iommu, bus, nb);
> return err;

This is the right fix

Thanks,
Jason