[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/5] memory: Explicitly tag doc comments for structs
From: |
Eduardo Habkost |
Subject: |
[PATCH 4/5] memory: Explicitly tag doc comments for structs |
Date: |
Fri, 2 Oct 2020 22:41:22 -0400 |
This will allow us to remove the QEMU-specific
$decl_type='type name' hack from the kernel-doc script.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
include/exec/memory.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index dee09851622..622207bde12 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -443,7 +443,7 @@ struct IOMMUMemoryRegion {
QLIST_FOREACH((n), &(mr)->iommu_notify, node)
/**
- * MemoryListener: callbacks structure for updates to the physical memory map
+ * struct MemoryListener: callbacks structure for updates to the physical
memory map
*
* Allows a component to adjust to changes in the guest-visible memory map.
* Use with memory_listener_register() and memory_listener_unregister().
@@ -681,7 +681,7 @@ struct MemoryListener {
};
/**
- * AddressSpace: describes a mapping of addresses to #MemoryRegion objects
+ * struct AddressSpace: describes a mapping of addresses to #MemoryRegion
objects
*/
struct AddressSpace {
/* private: */
@@ -721,7 +721,7 @@ static inline FlatView
*address_space_to_flatview(AddressSpace *as)
/**
- * MemoryRegionSection: describes a fragment of a #MemoryRegion
+ * struct MemoryRegionSection: describes a fragment of a #MemoryRegion
*
* @mr: the region, or %NULL if empty
* @fv: the flat view of the address space the region is mapped in
--
2.26.2
- [PATCH 0/5] kernel-doc ixes, Eduardo Habkost, 2020/10/02
- [PATCH 2/5] kernel-doc: Handle function typedefs without asterisks, Eduardo Habkost, 2020/10/02
- [PATCH 1/5] kernel-doc: Handle function typedefs that return pointers, Eduardo Habkost, 2020/10/02
- [PATCH 4/5] memory: Explicitly tag doc comments for structs,
Eduardo Habkost <=
- [PATCH 5/5] kernel-doc: Remove $decl_type='type name' hack, Eduardo Habkost, 2020/10/02
- [PATCH 3/5] qom: Explicitly tag doc comments for typedefs and structs, Eduardo Habkost, 2020/10/02
- Re: [PATCH 0/5] kernel-doc ixes, Paolo Bonzini, 2020/10/03