From: "Michael S. Tsirkin" <mst@redhat.com>
To: Jilin Yuan <yuanjilin@cdjrlc.com>
Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] drivers/virtio: fix repeated words in comments
Date: Tue, 16 Aug 2022 09:41:11 -0400 [thread overview]
Message-ID: <20220816094100-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20220816125959.23737-1-yuanjilin@cdjrlc.com>
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
parent reply other threads:[~2022-08-16 13:41 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20220816125959.23737-1-yuanjilin@cdjrlc.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220816094100-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=yuanjilin@cdjrlc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).