virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] drivers/virtio: fix repeated words in comments
       [not found] <20220816125959.23737-1-yuanjilin@cdjrlc.com>
@ 2022-08-16 13:41 ` Michael S. Tsirkin
  0 siblings, 0 replies; only message in thread
From: Michael S. Tsirkin @ 2022-08-16 13:41 UTC (permalink / raw)
  To: Jilin Yuan; +Cc: linux-kernel, virtualization

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

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-16 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20220816125959.23737-1-yuanjilin@cdjrlc.com>
2022-08-16 13:41 ` [PATCH] drivers/virtio: fix repeated words in comments 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;
as well as URLs for NNTP newsgroup(s).