diff mbox series

[v2,29/37] include/exec: fix some copy and paste errors in kdoc

Message ID 20250114113821.768750-30-alex.bennee@linaro.org
State New
Headers show
Series maintainer updates for jan '25 (semihosting, gdb, plugins, docs) pre-PR | expand

Commit Message

Alex Bennée Jan. 14, 2025, 11:38 a.m. UTC
A number of copy and paste kdoc comments are referring to the wrong
definition. Fix those cases.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 include/exec/memory.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Pierrick Bouvier Jan. 14, 2025, 6:24 p.m. UTC | #1
On 1/14/25 03:38, Alex Bennée wrote:
> A number of copy and paste kdoc comments are referring to the wrong
> definition. Fix those cases.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   include/exec/memory.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/exec/memory.h b/include/exec/memory.h
> index 9458e2801d..605687befa 100644
> --- a/include/exec/memory.h
> +++ b/include/exec/memory.h
> @@ -1194,7 +1194,7 @@ static inline bool MemoryRegionSection_eq(MemoryRegionSection *a,
>   MemoryRegionSection *memory_region_section_new_copy(MemoryRegionSection *s);
>   
>   /**
> - * memory_region_section_new_copy: Free a copied memory region section
> + * memory_region_section_free_copy: Free a copied memory region section
>    *
>    * Free a copy of a memory section created via memory_region_section_new_copy().
>    * properly dropping references on all relevant members.
> @@ -2510,7 +2510,7 @@ MemoryRegionSection memory_region_find(MemoryRegion *mr,
>   void memory_global_dirty_log_sync(bool last_stage);
>   
>   /**
> - * memory_global_dirty_log_sync: synchronize the dirty log for all memory
> + * memory_global_after_dirty_log_sync: synchronize the dirty log for all memory
>    *
>    * Synchronizes the vCPUs with a thread that is reading the dirty bitmap.
>    * This function must be called after the dirty log bitmap is cleared, and

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
diff mbox series

Patch

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 9458e2801d..605687befa 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -1194,7 +1194,7 @@  static inline bool MemoryRegionSection_eq(MemoryRegionSection *a,
 MemoryRegionSection *memory_region_section_new_copy(MemoryRegionSection *s);
 
 /**
- * memory_region_section_new_copy: Free a copied memory region section
+ * memory_region_section_free_copy: Free a copied memory region section
  *
  * Free a copy of a memory section created via memory_region_section_new_copy().
  * properly dropping references on all relevant members.
@@ -2510,7 +2510,7 @@  MemoryRegionSection memory_region_find(MemoryRegion *mr,
 void memory_global_dirty_log_sync(bool last_stage);
 
 /**
- * memory_global_dirty_log_sync: synchronize the dirty log for all memory
+ * memory_global_after_dirty_log_sync: synchronize the dirty log for all memory
  *
  * Synchronizes the vCPUs with a thread that is reading the dirty bitmap.
  * This function must be called after the dirty log bitmap is cleared, and