From: Alex Williamson <alex@shazbot.org>
To: Chu Guangqing <chuguangqing@inspur.com>
Cc: <ast@kernel.org>, <daniel@iogearbox.net>, <andrii@kernel.org>,
<martin.lau@linux.dev>, <eddyz87@gmail.com>, <song@kernel.org>,
<yonghong.song@linux.dev>, <john.fastabend@gmail.com>,
<kpsingh@kernel.org>, <sdf@fomichev.me>, <haoluo@google.com>,
<jolsa@kernel.org>, <kwankhede@nvidia.com>, <bpf@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <kvm@vger.kernel.org>
Subject: Re: [PATCH v2 1/1] samples/bpf: Fix spelling typo in samples/bpf
Date: Tue, 14 Oct 2025 14:00:35 -0600 [thread overview]
Message-ID: <20251014140035.31bd9154@shazbot.org> (raw)
In-Reply-To: <20251014060849.3074-2-chuguangqing@inspur.com>
On Tue, 14 Oct 2025 14:08:49 +0800
Chu Guangqing <chuguangqing@inspur.com> wrote:
> do_hbm_test.sh:
> The comment incorrectly used "upcomming" instead of "upcoming".
>
> hbm.c
> The comment incorrectly used "Managment" instead of "Management".
> The comment incorrectly used "Currrently" instead of "Currently".
>
> tcp_cong_kern.c
> The comment incorrectly used "deteremined" instead of "determined".
>
> tracex1.bpf.c
> The comment incorrectly used "loobpack" instead of "loopback".
>
> mtty.c
> The comment incorrectly used "atleast" instead of "at least".
>
> Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
> ---
> samples/bpf/do_hbm_test.sh | 2 +-
> samples/bpf/hbm.c | 4 ++--
> samples/bpf/tcp_cong_kern.c | 2 +-
> samples/bpf/tracex1.bpf.c | 2 +-
> samples/vfio-mdev/mtty.c | 2 +-
> 5 files changed, 6 insertions(+), 6 deletions(-)
>
...
> diff --git a/samples/vfio-mdev/mtty.c b/samples/vfio-mdev/mtty.c
> index 59eefe2fed10..6cb3e5974990 100644
> --- a/samples/vfio-mdev/mtty.c
> +++ b/samples/vfio-mdev/mtty.c
> @@ -624,7 +624,7 @@ static void handle_bar_read(unsigned int index, struct mdev_state *mdev_state,
> u8 lsr = 0;
>
> mutex_lock(&mdev_state->rxtx_lock);
> - /* atleast one char in FIFO */
> + /* at least one char in FIFO */
> if (mdev_state->s[index].rxtx.head !=
> mdev_state->s[index].rxtx.tail)
> lsr |= UART_LSR_DR;
I'd suggest this go through bpf since it touches more there. For mtty,
Acked-by: Alex Williamson <alex@shazbot.org>
next prev parent reply other threads:[~2025-10-14 20:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-14 6:08 [PATCH v2 0/1] Some spelling error fixes in samples directory Chu Guangqing
2025-10-14 6:08 ` [PATCH v2 1/1] samples/bpf: Fix spelling typo in samples/bpf Chu Guangqing
2025-10-14 6:48 ` Menglong Dong
2025-10-14 7:54 ` Chu Guangqing
2025-10-14 20:00 ` Alex Williamson [this message]
2025-10-15 0:59 ` Gary Chu(楚光庆)
2025-10-15 1:05 ` Alex Williamson
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=20251014140035.31bd9154@shazbot.org \
--to=alex@shazbot.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=chuguangqing@inspur.com \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kpsingh@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=kwankhede@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=sdf@fomichev.me \
--cc=song@kernel.org \
--cc=yonghong.song@linux.dev \
/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