public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/virtio: fix repeated words in comments
@ 2022-08-16 12:59 Jilin Yuan
  2022-08-16 13:41 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Jilin Yuan @ 2022-08-16 12:59 UTC (permalink / raw)
  To: mst, jasowang; +Cc: virtualization, linux-kernel, Jilin Yuan

 Delete the redundant word 'the'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/virtio/virtio_mmio.c           | 2 +-
 drivers/virtio/virtio_pci_modern_dev.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index f9a36bc7ac27..f638142654e6 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -255,7 +255,7 @@ static void vm_set_status(struct virtio_device *vdev, u8 status)
 
 	/*
 	 * Per memory-barriers.txt, wmb() is not needed to guarantee
-	 * that the the cache coherent memory writes have completed
+	 * that the cache coherent memory writes have completed
 	 * before writing to the MMIO region.
 	 */
 	writel(status, vm_dev->base + VIRTIO_MMIO_STATUS);
diff --git a/drivers/virtio/virtio_pci_modern_dev.c b/drivers/virtio/virtio_pci_modern_dev.c
index a0fa14f28a7f..b790f30b2b56 100644
--- a/drivers/virtio/virtio_pci_modern_dev.c
+++ b/drivers/virtio/virtio_pci_modern_dev.c
@@ -469,7 +469,7 @@ void vp_modern_set_status(struct virtio_pci_modern_device *mdev,
 
 	/*
 	 * Per memory-barriers.txt, wmb() is not needed to guarantee
-	 * that the the cache coherent memory writes have completed
+	 * that the cache coherent memory writes have completed
 	 * before writing to the MMIO region.
 	 */
 	vp_iowrite8(status, &cfg->device_status);
-- 
2.36.1


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

* Re: [PATCH] drivers/virtio: fix repeated words in comments
  2022-08-16 12:59 [PATCH] drivers/virtio: fix repeated words in comments Jilin Yuan
@ 2022-08-16 13:41 ` Michael S. Tsirkin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2022-08-16 13:41 UTC (permalink / raw)
  To: Jilin Yuan; +Cc: jasowang, virtualization, linux-kernel

On Tue, Aug 16, 2022 at 08:59:59PM +0800, Jilin Yuan wrote:
>  Delete the redundant word 'the'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

send this kind of thing to trivial pls.

> ---
>  drivers/virtio/virtio_mmio.c           | 2 +-
>  drivers/virtio/virtio_pci_modern_dev.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
> index f9a36bc7ac27..f638142654e6 100644
> --- a/drivers/virtio/virtio_mmio.c
> +++ b/drivers/virtio/virtio_mmio.c
> @@ -255,7 +255,7 @@ static void vm_set_status(struct virtio_device *vdev, u8 status)
>  
>  	/*
>  	 * Per memory-barriers.txt, wmb() is not needed to guarantee
> -	 * that the the cache coherent memory writes have completed
> +	 * that the cache coherent memory writes have completed
>  	 * before writing to the MMIO region.
>  	 */
>  	writel(status, vm_dev->base + VIRTIO_MMIO_STATUS);
> diff --git a/drivers/virtio/virtio_pci_modern_dev.c b/drivers/virtio/virtio_pci_modern_dev.c
> index a0fa14f28a7f..b790f30b2b56 100644
> --- a/drivers/virtio/virtio_pci_modern_dev.c
> +++ b/drivers/virtio/virtio_pci_modern_dev.c
> @@ -469,7 +469,7 @@ void vp_modern_set_status(struct virtio_pci_modern_device *mdev,
>  
>  	/*
>  	 * Per memory-barriers.txt, wmb() is not needed to guarantee
> -	 * that the the cache coherent memory writes have completed
> +	 * that the cache coherent memory writes have completed
>  	 * before writing to the MMIO region.
>  	 */
>  	vp_iowrite8(status, &cfg->device_status);
> -- 
> 2.36.1


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

end of thread, other threads:[~2022-08-16 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16 12:59 [PATCH] drivers/virtio: fix repeated words in comments Jilin Yuan
2022-08-16 13:41 ` Michael S. Tsirkin

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