Fix copy&paste typos in documentation comments
PATCH 1/1 Fix copy&paste typos in documentation comments
Signed-off-by BALATON Zoltan <[email protected]>
--- memory.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
memory.h +6 -5
@@ -252,9 +252,9 @@ void memory_region_init_ram(MemoryRegion *mr, uint64_t size);/** -* memory_region_init_ram: Initialize RAM memory region from a user-provided. -* pointer. Accesses into the region will modify -* memory directly. +* memory_region_init_ram_ptr: Initialize RAM memory region from a +* user-provided pointer. Accesses into the +* region will modify memory directly. * * @mr: the #MemoryRegion to be initialized. * @name: the name of the region.
@@ -581,7 +581,8 @@ void memory_region_add_subregion(MemoryRegion *mr,target_phys_addr_t offset, MemoryRegion *subregion);/** -* memory_region_add_subregion: Add a subregion to a container, with overlap. +* memory_region_add_subregion_overlap: Add a subregion to a container +* with overlap. * * Adds a subregion at @offset. The subregion may overlap with other * subregions. Conflicts are resolved by having a higher @priority hide a
@@ -743,7 +744,7 @@ void memory_listener_unregister(MemoryListener *listener);void memory_global_dirty_log_start (void );/** -* memory_global_dirty_log_stop: begin dirty logging for all regions +* memory_global_dirty_log_stop: end dirty logging for all regions */ void memory_global_dirty_log_stop (void );
Signature · 1 line
1.7.10
Quoted 11 lines · BALATON Zoltan
Signed-off-by BALATON Zoltan <[email protected]>--- memory.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)memory.h +0
-0
memory.h void memory_region_init_ram(MemoryRegion *mr, · line 257
Quoted 9 lines
memory.h +3
-3@@ -252,9 +252,9 @@ void memory_region_init_ram(MemoryRegion *mr, uint64_t size);/** -* memory_region_init_ram: Initialize RAM memory region from a user-provided. -* pointer. Accesses into the region will modify -* memory directly. +* memory_region_init_ram_ptr: Initialize RAM memory region from a +* user-provided pointer. Accesses into the +* region will modify memory directly.
^^^
Would be better if you make it align.
Regards,
chenwj
Signature · 5 lines
Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj