All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] memory.h: fix types in comments
@ 2018-10-09 10:21 Li Qiang
  2018-10-09 10:25 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Li Qiang @ 2018-10-09 10:21 UTC (permalink / raw)
  To: pbonzini; +Cc: qemu-devel, Li Qiang

Signed-off-by: Li Qiang <liq3ea@gmail.com>
---
 include/exec/memory.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 3a427aa..1fbbdaf 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -935,7 +935,7 @@ uint64_t memory_region_size(MemoryRegion *mr);
 /**
  * memory_region_is_ram: check whether a memory region is random access
  *
- * Returns %true is a memory region is random access.
+ * Returns %true if a memory region is random access.
  *
  * @mr: the memory region being queried
  */
@@ -947,7 +947,7 @@ static inline bool memory_region_is_ram(MemoryRegion *mr)
 /**
  * memory_region_is_ram_device: check whether a memory region is a ram device
  *
- * Returns %true is a memory region is a device backed ram region
+ * Returns %true if a memory region is a device backed ram region
  *
  * @mr: the memory region being queried
  */
@@ -1161,7 +1161,7 @@ uint8_t memory_region_get_dirty_log_mask(MemoryRegion *mr);
 /**
  * memory_region_is_rom: check whether a memory region is ROM
  *
- * Returns %true is a memory region is read-only memory.
+ * Returns %true if a memory region is read-only memory.
  *
  * @mr: the memory region being queried
  */
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] memory.h: fix types in comments
  2018-10-09 10:21 [Qemu-devel] [PATCH] memory.h: fix types in comments Li Qiang
@ 2018-10-09 10:25 ` Peter Maydell
  2018-10-09 10:37   ` Li Qiang
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2018-10-09 10:25 UTC (permalink / raw)
  To: Li Qiang; +Cc: Paolo Bonzini, QEMU Developers

On 9 October 2018 at 11:21, Li Qiang <liq3ea@gmail.com> wrote:
> Signed-off-by: Li Qiang <liq3ea@gmail.com>
> ---
>  include/exec/memory.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Thanks. Contents of patch
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

but the commit message should say "fix typos", not "fix types"
(a 'typo' is a typing mistake; a 'type' is something like "uint32_t".)


thanks
-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] memory.h: fix types in comments
  2018-10-09 10:25 ` Peter Maydell
@ 2018-10-09 10:37   ` Li Qiang
  2018-10-25 13:54     ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier
  0 siblings, 1 reply; 4+ messages in thread
From: Li Qiang @ 2018-10-09 10:37 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Paolo Bonzini, Qemu Developers, qemu-trivial

Peter Maydell <peter.maydell@linaro.org> 于2018年10月9日周二 下午6:26写道:

> On 9 October 2018 at 11:21, Li Qiang <liq3ea@gmail.com> wrote:
> > Signed-off-by: Li Qiang <liq3ea@gmail.com>
> > ---
> >  include/exec/memory.h | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
>
> Thanks. Contents of patch
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>
> but the commit message should say "fix typos", not "fix types"
> (a 'typo' is a typing mistake; a 'type' is something like "uint32_t".)
>
>
Indeed, hope the maintainer can fix this typo when queuing this patch, :)

In additon, Cc: qemu-trivial@nongnu.org


>
> thanks
> -- PMM
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [Qemu-trivial] [PATCH] memory.h: fix types in comments
  2018-10-09 10:37   ` Li Qiang
@ 2018-10-25 13:54     ` Laurent Vivier
  0 siblings, 0 replies; 4+ messages in thread
From: Laurent Vivier @ 2018-10-25 13:54 UTC (permalink / raw)
  To: Li Qiang, Peter Maydell; +Cc: qemu-trivial, Paolo Bonzini, Qemu Developers

On 09/10/2018 11:37, Li Qiang wrote:
> 
> 
> Peter Maydell <peter.maydell@linaro.org
> <mailto:peter.maydell@linaro.org>> 于2018年10月9日周二 下午6:26写道:
> 
>     On 9 October 2018 at 11:21, Li Qiang <liq3ea@gmail.com
>     <mailto:liq3ea@gmail.com>> wrote:
>     > Signed-off-by: Li Qiang <liq3ea@gmail.com <mailto:liq3ea@gmail.com>>
>     > ---
>     >  include/exec/memory.h | 6 +++---
>     >  1 file changed, 3 insertions(+), 3 deletions(-)
> 
>     Thanks. Contents of patch
>     Reviewed-by: Peter Maydell <peter.maydell@linaro.org
>     <mailto:peter.maydell@linaro.org>>
> 
>     but the commit message should say "fix typos", not "fix types"
>     (a 'typo' is a typing mistake; a 'type' is something like "uint32_t".)
> 
> 
> Indeed, hope the maintainer can fix this typo when queuing this patch, :)
> 
> In additon, Cc: qemu-trivial@nongnu.org <mailto:qemu-trivial@nongnu.org>
>  

Applied to qemu-trivial branch

Thanks,
Laurent

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-25 13:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-09 10:21 [Qemu-devel] [PATCH] memory.h: fix types in comments Li Qiang
2018-10-09 10:25 ` Peter Maydell
2018-10-09 10:37   ` Li Qiang
2018-10-25 13:54     ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.