mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mailbox: Remove unneeded semicolon
@ 2025-03-10  8:26 Chen Ni
  2025-03-10  8:30 ` Krzysztof Kozlowski
  2025-03-10  9:26 ` Tudor Ambarus
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Ni @ 2025-03-10  8:26 UTC (permalink / raw)
  To: tudor.ambarus, jassisinghbrar, krzk, alim.akhtar, linux-kernel,
	linux-samsung-soc, linux-arm-kernel
  Cc: Chen Ni

Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/mailbox/exynos-mailbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mailbox/exynos-mailbox.c b/drivers/mailbox/exynos-mailbox.c
index 20049f0ec5ff..2320649bf60c 100644
--- a/drivers/mailbox/exynos-mailbox.c
+++ b/drivers/mailbox/exynos-mailbox.c
@@ -57,7 +57,7 @@ static int exynos_mbox_send_data(struct mbox_chan *chan, void *data)
 	if (msg->chan_type != EXYNOS_MBOX_CHAN_TYPE_DOORBELL) {
 		dev_err(dev, "Unsupported channel type [%d]\n", msg->chan_type);
 		return -EINVAL;
-	};
+	}
 
 	writel(BIT(msg->chan_id), exynos_mbox->regs + EXYNOS_MBOX_INTGR1);
 
-- 
2.25.1


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

* Re: [PATCH] mailbox: Remove unneeded semicolon
  2025-03-10  8:26 [PATCH] mailbox: Remove unneeded semicolon Chen Ni
@ 2025-03-10  8:30 ` Krzysztof Kozlowski
  2025-03-10  9:26 ` Tudor Ambarus
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-10  8:30 UTC (permalink / raw)
  To: Chen Ni, tudor.ambarus, jassisinghbrar, alim.akhtar,
	linux-kernel, linux-samsung-soc, linux-arm-kernel

On 10/03/2025 09:26, Chen Ni wrote:
> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
> ---
>  drivers/mailbox/exynos-mailbox.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof

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

* Re: [PATCH] mailbox: Remove unneeded semicolon
  2025-03-10  8:26 [PATCH] mailbox: Remove unneeded semicolon Chen Ni
  2025-03-10  8:30 ` Krzysztof Kozlowski
@ 2025-03-10  9:26 ` Tudor Ambarus
  1 sibling, 0 replies; 3+ messages in thread
From: Tudor Ambarus @ 2025-03-10  9:26 UTC (permalink / raw)
  To: Chen Ni, jassisinghbrar, krzk, alim.akhtar, linux-kernel,
	linux-samsung-soc, linux-arm-kernel



On 3/10/25 8:26 AM, Chen Ni wrote:
> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

thanks, Chen!

Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
> ---
>  drivers/mailbox/exynos-mailbox.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mailbox/exynos-mailbox.c b/drivers/mailbox/exynos-mailbox.c
> index 20049f0ec5ff..2320649bf60c 100644
> --- a/drivers/mailbox/exynos-mailbox.c
> +++ b/drivers/mailbox/exynos-mailbox.c
> @@ -57,7 +57,7 @@ static int exynos_mbox_send_data(struct mbox_chan *chan, void *data)
>  	if (msg->chan_type != EXYNOS_MBOX_CHAN_TYPE_DOORBELL) {
>  		dev_err(dev, "Unsupported channel type [%d]\n", msg->chan_type);
>  		return -EINVAL;
> -	};
> +	}
>  
>  	writel(BIT(msg->chan_id), exynos_mbox->regs + EXYNOS_MBOX_INTGR1);
>  


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

end of thread, other threads:[~2025-03-10  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-10  8:26 [PATCH] mailbox: Remove unneeded semicolon Chen Ni
2025-03-10  8:30 ` Krzysztof Kozlowski
2025-03-10  9:26 ` Tudor Ambarus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®