Patchwork Fix copy&paste typos in documentation comments

login
register
mail settings
Submitter BALATON Zoltan
Date Aug. 21, 2012, 9:31 p.m.
Message ID <Pine.GSO.4.64.1208212330010.11653@mono>
Download mbox | patch
Permalink /patch/179197/
State New
Headers show

Comments

BALATON Zoltan - Aug. 21, 2012, 9:31 p.m.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
  memory.h |   11 ++++++-----
  1 file changed, 6 insertions(+), 5 deletions(-)
陳韋任 - Aug. 22, 2012, 2:24 a.m.
On Tue, Aug 21, 2012 at 11:31:26PM +0200, BALATON Zoltan wrote:
> 
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> ---
>   memory.h |   11 ++++++-----
>   1 file changed, 6 insertions(+), 5 deletions(-)
> 
> diff --git a/memory.h b/memory.h
> index bd1bbae..aba5721 100644
> --- a/memory.h
> +++ b/memory.h
> @@ -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

Patch

diff --git a/memory.h b/memory.h
index bd1bbae..aba5721 100644
--- a/memory.h
+++ b/memory.h
@@ -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);