[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_73EEE47E6ECCF538229C9B9E6A0272DA2B05@qq.com>
Date: Mon, 7 Apr 2025 09:53:28 +0800
From: xiaopeitux@...mail.com
To: robin.murphy@....com,
joro@...tes.org,
will@...nel.org,
iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: Pei Xiao <xiaopei01@...inos.cn>
Subject: [PATCH] iommu: remove unneeded semicolon
From: Pei Xiao <xiaopei01@...inos.cn>
cocci warnings:
drivers/iommu/dma-iommu.c:1788:2-3: Unneeded semicolon
so remove unneeded semicolon to fix cocci warnings.
Signed-off-by: Pei Xiao <xiaopei01@...inos.cn>
---
drivers/iommu/dma-iommu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-iommu.c
index 6054d0ab8023..89fc5a7d033f 100644
--- a/drivers/iommu/dma-iommu.c
+++ b/drivers/iommu/dma-iommu.c
@@ -1754,7 +1754,7 @@ static size_t cookie_msi_granule(const struct iommu_domain *domain)
return PAGE_SIZE;
default:
BUG();
- };
+ }
}
static struct list_head *cookie_msi_pages(const struct iommu_domain *domain)
@@ -1766,7 +1766,7 @@ static struct list_head *cookie_msi_pages(const struct iommu_domain *domain)
return &domain->msi_cookie->msi_page_list;
default:
BUG();
- };
+ }
}
static struct iommu_dma_msi_page *iommu_dma_get_msi_page(struct device *dev,
--
2.25.1
Powered by blists - more mailing lists