Skip to contentSkip to conversation

memory.h: Fix typo in documentation comment

PATCH In review Peter Maydell 3 participants 3 messages May 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memory.h: Fix typo in documentation comment

---
 include/exec/memory.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/exec/memory.h +1 -1
index 525619a5f4..4fa1227f13 100644
@@ -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
Signature · 1 line
2.17.0
#1 lore raw
Quoted 11 lines · Peter Maydell
---
 include/exec/memory.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/exec/memory.h +0 -0
index 525619a5f4..4fa1227f13 100644

include/exec/memory.h void memory_region_init_rom_device_nomigrate(MemoryRegion *mr, · line 685

Quoted 8 lines
include/exec/memory.h +1 -1
@@ -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

Reviewed-by on v1 1/1
#2 lore raw
In reply to Peter Maydell
Quoted 10 lines · Peter Maydell
---
 include/exec/memory.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/exec/memory.h +0 -0
index 525619a5f4..4fa1227f13 100644

include/exec/memory.h void memory_region_init_rom_device_nomigrate(MemoryRegion *mr, · line 685

Quoted 8 lines
include/exec/memory.h +1 -1
@@ -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

--
Alex Bennée