linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] gpio: virtio: remove unneeded semicolon
@ 2021-11-08  4:03 Yang Li
  2021-11-08  4:15 ` Viresh Kumar
  2021-11-15 13:25 ` Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2021-11-08  4:03 UTC (permalink / raw)
  To: info
  Cc: vireshk, linus.walleij, brgl, linux-gpio, virtualization,
	linux-kernel, Yang Li

Eliminate the following coccicheck warning:
./drivers/gpio/gpio-virtio.c:437:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpio/gpio-virtio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c
index aeec4bf..84f96b7 100644
--- a/drivers/gpio/gpio-virtio.c
+++ b/drivers/gpio/gpio-virtio.c
@@ -434,7 +434,7 @@ static void virtio_gpio_event_vq(struct virtqueue *vq)
 		ret = generic_handle_domain_irq(vgpio->gc.irq.domain, gpio);
 		if (ret)
 			dev_err(dev, "failed to handle interrupt: %d\n", ret);
-	};
+	}
 }
 
 static void virtio_gpio_request_vq(struct virtqueue *vq)
-- 
1.8.3.1


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

* Re: [PATCH -next] gpio: virtio: remove unneeded semicolon
  2021-11-08  4:03 [PATCH -next] gpio: virtio: remove unneeded semicolon Yang Li
@ 2021-11-08  4:15 ` Viresh Kumar
  2021-11-15 13:25 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2021-11-08  4:15 UTC (permalink / raw)
  To: Yang Li
  Cc: info, vireshk, linus.walleij, brgl, linux-gpio, virtualization,
	linux-kernel

On 08-11-21, 12:03, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/gpio/gpio-virtio.c:437:2-3: Unneeded semicolon
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/gpio/gpio-virtio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c
> index aeec4bf..84f96b7 100644
> --- a/drivers/gpio/gpio-virtio.c
> +++ b/drivers/gpio/gpio-virtio.c
> @@ -434,7 +434,7 @@ static void virtio_gpio_event_vq(struct virtqueue *vq)
>  		ret = generic_handle_domain_irq(vgpio->gc.irq.domain, gpio);
>  		if (ret)
>  			dev_err(dev, "failed to handle interrupt: %d\n", ret);
> -	};
> +	}
>  }
>  
>  static void virtio_gpio_request_vq(struct virtqueue *vq)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

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

* Re: [PATCH -next] gpio: virtio: remove unneeded semicolon
  2021-11-08  4:03 [PATCH -next] gpio: virtio: remove unneeded semicolon Yang Li
  2021-11-08  4:15 ` Viresh Kumar
@ 2021-11-15 13:25 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2021-11-15 13:25 UTC (permalink / raw)
  To: Yang Li
  Cc: Enrico Weigelt, Viresh Kumar, Linus Walleij,
	open list:GPIO SUBSYSTEM, virtualization,
	Linux Kernel Mailing List

On Mon, Nov 8, 2021 at 5:04 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> Eliminate the following coccicheck warning:
> ./drivers/gpio/gpio-virtio.c:437:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/gpio/gpio-virtio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c
> index aeec4bf..84f96b7 100644
> --- a/drivers/gpio/gpio-virtio.c
> +++ b/drivers/gpio/gpio-virtio.c
> @@ -434,7 +434,7 @@ static void virtio_gpio_event_vq(struct virtqueue *vq)
>                 ret = generic_handle_domain_irq(vgpio->gc.irq.domain, gpio);
>                 if (ret)
>                         dev_err(dev, "failed to handle interrupt: %d\n", ret);
> -       };
> +       }
>  }
>
>  static void virtio_gpio_request_vq(struct virtqueue *vq)
> --
> 1.8.3.1
>

Queued for fixes, thanks!

Bart

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

end of thread, other threads:[~2021-11-15 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08  4:03 [PATCH -next] gpio: virtio: remove unneeded semicolon Yang Li
2021-11-08  4:15 ` Viresh Kumar
2021-11-15 13:25 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).