Re: [PATCH v2 13/33] iommu: Export bus_iommu_probe() and make is safe for re-probing

From: Joerg Roedel
Date: Wed Apr 15 2020 - 08:30:21 EST


Hi Baolu,

On Wed, Apr 15, 2020 at 02:10:03PM +0800, Lu Baolu wrote:
> On 2020/4/14 21:15, Joerg Roedel wrote:
> > > + /* Device is probed already if in a group */
> > + if (iommu_group_get(dev) != NULL)
>
> Same as
> if (iommu_group_get(dev))
> ?
>
> By the way, do we need to put the group if device has already been
> probed?

Right, fixed both, thank you.


Regards,

Joerg