[PATCH v2 4/5] vfio/iommu_type1: Clean up update_dirty_scope in detach_group()

Nicolin Chen nicolinc at nvidia.com
Thu Jun 16 15:26:09 PDT 2022


On Thu, Jun 16, 2022 at 06:45:09AM +0000, Tian, Kevin wrote:

> > +out_unlock:
> >       mutex_unlock(&iommu->lock);
> >  }
> >
> 
> I'd just replace the goto with a direct unlock and then return there.
> the readability is slightly better.

OK. Will do that.



More information about the Linux-mediatek mailing list