* [PATCH 0/3] Fix typo in comments
@ 2025-05-07 20:46 Gustavo Romero
2025-05-07 20:46 ` [PATCH 1/3] linux-user: Fix typo in comment Gustavo Romero
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Gustavo Romero @ 2025-05-07 20:46 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, thuth, gustavo.romero
Nothing exciting in this series, just typo fixes in comments.
Cheers,
Gustavo
Gustavo Romero (3):
linux-user: Fix typo in comment
Fix typo in comments
Fix typo in comments
block.c | 4 ++--
hw/display/apple-gfx.m | 2 +-
hw/xen/xen-hvm-common.c | 2 +-
include/exec/cpu-common.h | 2 +-
include/hw/xen/interface/io/blkif.h | 2 +-
linux-user/mmap.c | 2 +-
qapi/machine-target.json | 2 +-
qapi/qom.json | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/3] linux-user: Fix typo in comment
2025-05-07 20:46 [PATCH 0/3] Fix typo in comments Gustavo Romero
@ 2025-05-07 20:46 ` Gustavo Romero
2025-05-07 21:24 ` Philippe Mathieu-Daudé
2025-05-07 20:46 ` [PATCH 2/3] Fix typo in comments Gustavo Romero
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Gustavo Romero @ 2025-05-07 20:46 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, thuth, gustavo.romero
Fix the duplicate "of" preposition in a comment.
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Suggested-by: Thomas Huth <thuth@redhat.com>
---
linux-user/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/mmap.c b/linux-user/mmap.c
index f88a80c31e..002e1e668e 100644
--- a/linux-user/mmap.c
+++ b/linux-user/mmap.c
@@ -645,7 +645,7 @@ static abi_long mmap_h_eq_g(abi_ulong start, abi_ulong len,
*
* However, this case is rather common with executable images,
* so the workaround is important for even trivial tests, whereas
- * the mmap of of a file being extended is less common.
+ * the mmap of a file being extended is less common.
*/
static abi_long mmap_h_lt_g(abi_ulong start, abi_ulong len, int host_prot,
int mmap_flags, int page_flags, int fd,
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] Fix typo in comments
2025-05-07 20:46 [PATCH 0/3] Fix typo in comments Gustavo Romero
2025-05-07 20:46 ` [PATCH 1/3] linux-user: Fix typo in comment Gustavo Romero
@ 2025-05-07 20:46 ` Gustavo Romero
2025-05-07 20:46 ` [PATCH 3/3] " Gustavo Romero
2025-05-07 22:08 ` [PATCH 0/3] " Gustavo Romero
3 siblings, 0 replies; 6+ messages in thread
From: Gustavo Romero @ 2025-05-07 20:46 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, thuth, gustavo.romero
Fix the duplicate "the" article in various comments.
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Suggested-by: Thomas Huth <thuth@redhat.com>
---
block.c | 4 ++--
hw/xen/xen-hvm-common.c | 2 +-
include/exec/cpu-common.h | 2 +-
include/hw/xen/interface/io/blkif.h | 2 +-
qapi/qom.json | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/block.c b/block.c
index 0ece805e41..2bac802da8 100644
--- a/block.c
+++ b/block.c
@@ -3153,8 +3153,8 @@ bdrv_attach_child_common(BlockDriverState *child_bs,
* stop new requests from coming in. This is fine, we don't care about the
* old requests here, they are not for this child. If another place enters a
* drain section for the same parent, but wants it to be fully quiesced, it
- * will not run most of the the code in .drained_begin() again (which is not
- * a problem, we already did this), but it will still poll until the parent
+ * will not run most of the code in .drained_begin() again (which is not a
+ * problem, we already did this), but it will still poll until the parent
* is fully quiesced, so it will not be negatively affected either.
*/
bdrv_parent_drained_begin_single(new_child);
diff --git a/hw/xen/xen-hvm-common.c b/hw/xen/xen-hvm-common.c
index 9a677e8ed7..78e0bc8f64 100644
--- a/hw/xen/xen-hvm-common.c
+++ b/hw/xen/xen-hvm-common.c
@@ -711,7 +711,7 @@ static int xen_map_ioreq_server(XenIOState *state)
/*
* If we fail to map the shared page with xenforeignmemory_map_resource()
* or if we're using buffered ioreqs, we need xen_get_ioreq_server_info()
- * to provide the the addresses to map the shared page and/or to get the
+ * to provide the addresses to map the shared page and/or to get the
* event-channel port for buffered ioreqs.
*/
if (state->shared_page == NULL || state->has_bufioreq) {
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h
index dab1e7e580..a68485547d 100644
--- a/include/exec/cpu-common.h
+++ b/include/exec/cpu-common.h
@@ -182,7 +182,7 @@ void list_cpus(void);
* @host_pc: the host pc within the translation
* @data: output data
*
- * Attempt to load the the unwind state for a host pc occurring in
+ * Attempt to load the unwind state for a host pc occurring in
* translated code. If @host_pc is not in translated code, the
* function returns false; otherwise @data is loaded.
* This is the same unwind info as given to restore_state_to_opc.
diff --git a/include/hw/xen/interface/io/blkif.h b/include/hw/xen/interface/io/blkif.h
index 22f1eef0c0..c5527999d1 100644
--- a/include/hw/xen/interface/io/blkif.h
+++ b/include/hw/xen/interface/io/blkif.h
@@ -324,7 +324,7 @@
* access (even when it should be read-only). If the frontend hits the
* maximum number of allowed persistently mapped grants, it can fallback
* to non persistent mode. This will cause a performance degradation,
- * since the the backend driver will still try to map those grants
+ * since the backend driver will still try to map those grants
* persistently. Since the persistent grants protocol is compatible with
* the previous protocol, a frontend driver can choose to work in
* persistent mode even when the backend doesn't support it.
diff --git a/qapi/qom.json b/qapi/qom.json
index 28ce24cd8d..04c118e4d6 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -871,7 +871,7 @@
# link characteristics read from PCIe Configuration space.
# To get the full path latency from CPU to CXL attached DRAM
# CXL device: Add the latency from CPU to Generic Port (from
-# HMAT indexed via the the node ID in this SRAT structure) to
+# HMAT indexed via the node ID in this SRAT structure) to
# that for CXL bus links, the latency across intermediate switches
# and from the EP port to the actual memory. Bandwidth is more
# complex as there may be interleaving across multiple devices
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] Fix typo in comments
2025-05-07 20:46 [PATCH 0/3] Fix typo in comments Gustavo Romero
2025-05-07 20:46 ` [PATCH 1/3] linux-user: Fix typo in comment Gustavo Romero
2025-05-07 20:46 ` [PATCH 2/3] Fix typo in comments Gustavo Romero
@ 2025-05-07 20:46 ` Gustavo Romero
2025-05-07 22:08 ` [PATCH 0/3] " Gustavo Romero
3 siblings, 0 replies; 6+ messages in thread
From: Gustavo Romero @ 2025-05-07 20:46 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, thuth, gustavo.romero
Fix the duplicate "in" preposition in a few comments.
Signed-off: Gustavo Romero <gustavo.romero@linaro.org>
Suggested-by: Thomas Huth <thuth@redhat.com>
---
hw/display/apple-gfx.m | 2 +-
qapi/machine-target.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/display/apple-gfx.m b/hw/display/apple-gfx.m
index 2ff1c90df7..8dde1f138d 100644
--- a/hw/display/apple-gfx.m
+++ b/hw/display/apple-gfx.m
@@ -69,7 +69,7 @@ static dispatch_queue_t get_background_queue(void)
mach_vm_address_t address;
uint64_t len;
/*
- * All unique MemoryRegions for which a mapping has been created in in this
+ * All unique MemoryRegions for which a mapping has been created in this
* task, and on which we have thus called memory_region_ref(). There are
* usually very few regions of system RAM in total, so we expect this array
* to be very short. Therefore, no need for sorting or fancy search
diff --git a/qapi/machine-target.json b/qapi/machine-target.json
index 541f93eeb7..426ce4ee82 100644
--- a/qapi/machine-target.json
+++ b/qapi/machine-target.json
@@ -350,7 +350,7 @@
# migration-safe in the future (since 4.1)
#
# @deprecated: If true, this CPU model is deprecated and may be
-# removed in in some future version of QEMU according to the QEMU
+# removed in some future version of QEMU according to the QEMU
# deprecation policy. (since 5.2)
#
# @unavailable-features is a list of QOM property names that represent
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] linux-user: Fix typo in comment
2025-05-07 20:46 ` [PATCH 1/3] linux-user: Fix typo in comment Gustavo Romero
@ 2025-05-07 21:24 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-05-07 21:24 UTC (permalink / raw)
To: Gustavo Romero, qemu-devel; +Cc: qemu-trivial, thuth
On 7/5/25 22:46, Gustavo Romero wrote:
> Fix the duplicate "of" preposition in a comment.
>
> Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
> Suggested-by: Thomas Huth <thuth@redhat.com>
> ---
> linux-user/mmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/3] Fix typo in comments
2025-05-07 20:46 [PATCH 0/3] Fix typo in comments Gustavo Romero
` (2 preceding siblings ...)
2025-05-07 20:46 ` [PATCH 3/3] " Gustavo Romero
@ 2025-05-07 22:08 ` Gustavo Romero
3 siblings, 0 replies; 6+ messages in thread
From: Gustavo Romero @ 2025-05-07 22:08 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, thuth
Michael fixed all these typos a couple of hours ago [0], so this series
can be ignored. Thanks.
Cheers,
Gustavo
[0] https://lists.nongnu.org/archive/html/qemu-trivial/2025-05/msg00022.html
On 5/7/25 17:46, Gustavo Romero wrote:
> Nothing exciting in this series, just typo fixes in comments.
>
>
> Cheers,
> Gustavo
>
> Gustavo Romero (3):
> linux-user: Fix typo in comment
> Fix typo in comments
> Fix typo in comments
>
> block.c | 4 ++--
> hw/display/apple-gfx.m | 2 +-
> hw/xen/xen-hvm-common.c | 2 +-
> include/exec/cpu-common.h | 2 +-
> include/hw/xen/interface/io/blkif.h | 2 +-
> linux-user/mmap.c | 2 +-
> qapi/machine-target.json | 2 +-
> qapi/qom.json | 2 +-
> 8 files changed, 9 insertions(+), 9 deletions(-)
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-05-07 22:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 20:46 [PATCH 0/3] Fix typo in comments Gustavo Romero
2025-05-07 20:46 ` [PATCH 1/3] linux-user: Fix typo in comment Gustavo Romero
2025-05-07 21:24 ` Philippe Mathieu-Daudé
2025-05-07 20:46 ` [PATCH 2/3] Fix typo in comments Gustavo Romero
2025-05-07 20:46 ` [PATCH 3/3] " Gustavo Romero
2025-05-07 22:08 ` [PATCH 0/3] " Gustavo Romero
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).