memory.h: Fix typo in documentation comment

Message ID 20180515134835.3409-1-peter.maydell@linaro.org
State New
Headers show
Series
  • memory.h: Fix typo in documentation comment
Related show

Commit Message

Peter Maydell May 15, 2018, 1:48 p.m.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

---
 include/exec/memory.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.0

Comments

Paolo Bonzini May 15, 2018, 2:33 p.m. | #1
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
Alex Bennée May 15, 2018, 3:11 p.m. | #2
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

Patch

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