Messages in this thread | | | Date | Wed, 27 Jan 2021 12:42:09 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH -next] iommu: amd: Use DEFINE_SPINLOCK() for spinlock |
| |
On Mon, Dec 28, 2020 at 09:51:12PM +0800, Zheng Yongjun wrote: > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init(). > > Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> > --- > drivers/iommu/amd/iommu_v2.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-)
Applied, thanks.
| |