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

From
Nicolin Chen <hidden>
Date
2022-06-16 22:26:20
Also in
kvm, linux-arm-msm, linux-iommu, linux-mediatek, linux-s390, linux-tegra, lkml
Reply to
Tian, Kevin, 2022-06-16
On Thu, Jun 16, 2022 at 06:45:09AM +0000, Tian, Kevin wrote:
quoted
+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.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (30 messages) 30 messages, 6 authors, last reply 2022-06-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help