[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/13] qapi: Fix typo in visit_start_list()'s contract
From: |
Markus Armbruster |
Subject: |
[PATCH 03/13] qapi: Fix typo in visit_start_list()'s contract |
Date: |
Thu, 23 Apr 2020 18:00:26 +0200 |
Signed-off-by: Markus Armbruster <address@hidden>
---
include/qapi/visitor.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/qapi/visitor.h b/include/qapi/visitor.h
index 7f63e4c381..c5d0ce9184 100644
--- a/include/qapi/visitor.h
+++ b/include/qapi/visitor.h
@@ -345,9 +345,9 @@ void visit_end_struct(Visitor *v, void **obj);
* input visitors set *@list to NULL.
*
* After visit_start_list() succeeds, the caller may visit its members
- * one after the other. A real visit (where @obj is non-NULL) uses
+ * one after the other. A real visit (where @list is non-NULL) uses
* visit_next_list() for traversing the linked list, while a virtual
- * visit (where @obj is NULL) uses other means. For each list
+ * visit (where @list is NULL) uses other means. For each list
* element, call the appropriate visit_type_FOO() with name set to
* NULL and obj set to the address of the value member of the list
* element. Finally, visit_end_list() needs to be called with the
--
2.21.1
- [PATCH 00/13] qapi: Spring cleaning, Markus Armbruster, 2020/04/23
- [PATCH 06/13] qapi: Assert incomplete object occurs only in dealloc visitor, Markus Armbruster, 2020/04/23
- [PATCH 01/13] qapi: Belatedly update visitor.h's big comment for QAPI modules, Markus Armbruster, 2020/04/23
- [PATCH 10/13] qapi: Clean up visitor's recovery from input with invalid type, Markus Armbruster, 2020/04/23
- [PATCH 04/13] qapi: Document @errp usage more thoroughly in visitor.h, Markus Armbruster, 2020/04/23
- [PATCH 03/13] qapi: Fix typo in visit_start_list()'s contract,
Markus Armbruster <=
- [PATCH 08/13] qapi: Assert output visitors see only valid enum values, Markus Armbruster, 2020/04/23
- [PATCH 13/13] qom: Simplify object_property_get_enum(), Markus Armbruster, 2020/04/23
- [PATCH 11/13] qapi: Assert non-input visitors see only valid alternate tags, Markus Armbruster, 2020/04/23
- [PATCH 05/13] qapi: Polish prose in visitor.h, Markus Armbruster, 2020/04/23