Hi 
> > > diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
> > > index 7a4529c..cebf56d 100644
> > > --- a/drivers/iommu/ipmmu-vmsa.c
> > > +++ b/drivers/iommu/ipmmu-vmsa.c
> > > @@ -756,6 +756,9 @@ static int ipmmu_init_platform_device(struct device 
> > > *dev,
> > >
> > >     fwspec->iommu_priv = platform_get_drvdata(ipmmu_pdev);
> > >
> > > +   if (!fwspec->iommu_priv)
> > > +           put_device(&ipmmu_pdev->dev);
> > > +
> 
> This doesn't seem to match the patch's subject, and doesn't seem to fix
> the problem.

Thanks for your comments.
I will submit a v2 patch later.
Thank you.

Regards,

Wen

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to