All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iommu: remove unneeded semicolon
@ 2025-04-07  1:53 xiaopeitux
  2025-04-10 23:35 ` Jason Gunthorpe
  2025-04-11 10:43 ` Joerg Roedel
  0 siblings, 2 replies; 3+ messages in thread
From: xiaopeitux @ 2025-04-07  1:53 UTC (permalink / raw)
  To: robin.murphy, joro, will, iommu, linux-kernel; +Cc: Pei Xiao

From: Pei Xiao <xiaopei01@kylinos.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@kylinos.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] iommu: remove unneeded semicolon
  2025-04-07  1:53 [PATCH] iommu: remove unneeded semicolon xiaopeitux
@ 2025-04-10 23:35 ` Jason Gunthorpe
  2025-04-11 10:43 ` Joerg Roedel
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2025-04-10 23:35 UTC (permalink / raw)
  To: xiaopeitux; +Cc: robin.murphy, joro, will, iommu, linux-kernel, Pei Xiao

On Mon, Apr 07, 2025 at 09:53:28AM +0800, xiaopeitux@foxmail.com wrote:
> From: Pei Xiao <xiaopei01@kylinos.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@kylinos.cn>
> ---
>  drivers/iommu/dma-iommu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iommu: remove unneeded semicolon
  2025-04-07  1:53 [PATCH] iommu: remove unneeded semicolon xiaopeitux
  2025-04-10 23:35 ` Jason Gunthorpe
@ 2025-04-11 10:43 ` Joerg Roedel
  1 sibling, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2025-04-11 10:43 UTC (permalink / raw)
  To: xiaopeitux; +Cc: robin.murphy, will, iommu, linux-kernel, Pei Xiao

On Mon, Apr 07, 2025 at 09:53:28AM +0800, xiaopeitux@foxmail.com wrote:
> From: Pei Xiao <xiaopei01@kylinos.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@kylinos.cn>
> ---
>  drivers/iommu/dma-iommu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-11 10:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-07  1:53 [PATCH] iommu: remove unneeded semicolon xiaopeitux
2025-04-10 23:35 ` Jason Gunthorpe
2025-04-11 10:43 ` Joerg Roedel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.