[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RFC 01/10] qemu/: fix some comment spelling errors

From: Eric Blake
Subject: Re: [PATCH RFC 01/10] qemu/: fix some comment spelling errors
Date: Mon, 24 Aug 2020 09:33:28 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 8/12/20 9:12 AM, Alex Bennée wrote:

zhaolichang <zhaolichang@huawei.com> writes:

I found that there are many spelling errors in the comments of qemu,
so I used the spellcheck tool to check the spelling errors
and finally found some spelling errors in the folder.

Signed-off-by: zhaolichang <zhaolichang@huawei.com>

diff --git a/gdbstub.c b/gdbstub.c
index f3a318c..bbe66b5 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -698,7 +698,7 @@ static uint32_t gdb_get_cpu_pid(CPUState *cpu)
      /* TODO: In user mode, we should use the task state PID */
      if (cpu->cluster_index == UNASSIGNED_CLUSTER_INDEX) {
-        /* Return the default process' PID */
+        /* Return the default process's PID */

Hmm I thought this was correct usage as s's -> s' but apparently that is
only a given rule for possessive plural nouns (processes' PIDs) -
although apparently it is possible to have singular nouns in plural
forms so what do I know :-/

Yes, this is one case where s's is valid. But if it bothers you, you can always rewrite to:

/* Return the PID of the default process */

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]