[Qemu-devel] [PATCH] memory.h: Fix typo in documentation comment

Peter Maydell posted 1 patch 5 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180515134835.3409-1-peter.maydell@linaro.org
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test s390x passed
include/exec/memory.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PATCH] memory.h: Fix typo in documentation comment
Posted by Peter Maydell 5 years, 10 months ago
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 include/exec/memory.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 525619a5f4..4fa1227f13 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -679,7 +679,7 @@ void memory_region_init_rom_device_nomigrate(MemoryRegion *mr,
  * memory_region_init_reservation: Initialize a memory region that reserves
  *                                 I/O space.
  *
- * A reservation region primariy serves debugging purposes.  It claims I/O
+ * A reservation region primarily serves debugging purposes.  It claims I/O
  * space that is not supposed to be handled by QEMU itself.  Any access via
  * the memory API will cause an abort().
  * This function is deprecated. Use memory_region_init_io() with NULL
-- 
2.17.0


Re: [Qemu-devel] [PATCH] memory.h: Fix typo in documentation comment
Posted by Paolo Bonzini 5 years, 10 months ago
On 15/05/2018 15:48, Peter Maydell wrote:
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  include/exec/memory.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/exec/memory.h b/include/exec/memory.h
> index 525619a5f4..4fa1227f13 100644
> --- a/include/exec/memory.h
> +++ b/include/exec/memory.h
> @@ -679,7 +679,7 @@ void memory_region_init_rom_device_nomigrate(MemoryRegion *mr,
>   * memory_region_init_reservation: Initialize a memory region that reserves
>   *                                 I/O space.
>   *
> - * A reservation region primariy serves debugging purposes.  It claims I/O
> + * A reservation region primarily serves debugging purposes.  It claims I/O
>   * space that is not supposed to be handled by QEMU itself.  Any access via
>   * the memory API will cause an abort().
>   * This function is deprecated. Use memory_region_init_io() with NULL
> 

Let's just get rid of the function... Patch along the way.

Paolo

Re: [Qemu-devel] [PATCH] memory.h: Fix typo in documentation comment
Posted by Alex Bennée 5 years, 10 months ago
Peter Maydell <peter.maydell@linaro.org> writes:

> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  include/exec/memory.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/exec/memory.h b/include/exec/memory.h
> index 525619a5f4..4fa1227f13 100644
> --- a/include/exec/memory.h
> +++ b/include/exec/memory.h
> @@ -679,7 +679,7 @@ void memory_region_init_rom_device_nomigrate(MemoryRegion *mr,
>   * memory_region_init_reservation: Initialize a memory region that reserves
>   *                                 I/O space.
>   *
> - * A reservation region primariy serves debugging purposes.  It claims I/O
> + * A reservation region primarily serves debugging purposes.  It claims I/O
>   * space that is not supposed to be handled by QEMU itself.  Any access via
>   * the memory API will cause an abort().
>   * This function is deprecated. Use memory_region_init_io() with NULL

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

--
Alex Bennée