memory.h: fix types in comments
PATCH 1/1 memory.h: fix types in comments
--- include/exec/memory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/exec/memory.h +3 -3
@@ -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 */
Signature · 1 line
1.8.3.1
Quoted 4 lines · Li Qiang
Signed-off-by Li Qiang <[email protected]>--- include/exec/memory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks. Contents of patch
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
Quoted 6 lines · Peter Maydell <[email protected]> 于2018年10月9日周二 下午6:26写道:
Quoted 4 lines · Li Qiang
Signed-off-by Li Qiang <[email protected]>--- include/exec/memory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Quoted 7 lines
Thanks. Contents of patch
Reviewed-by Peter Maydell <[email protected]>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: [email protected]
Quoted 4 lines
thanks
-- PMM
Laurent Vivier
AppliedQuoted 16 lines · Li Qiang
Peter Maydell <[email protected] <mailto:[email protected]>> 于2018年10月9日周二 下午6:26写道:
On 9 October 2018 at 11:21, Li Qiang <[email protected] <mailto:[email protected]>> wrote:
> Signed-off-by: Li Qiang <[email protected] <mailto:[email protected]>> > ---
>include/exec/memory.h| 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)Thanks. Contents of patch
Reviewed-by Peter Maydell <[email protected]<mailto:[email protected]>>
Quoted 8 lines
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: [email protected] <mailto:[email protected]>
Applied to qemu-trivial branch
Thanks,
Laurent