Skip to content

Commit 64965b4

Browse files
committed
tests/qtest: fix some copy and paste errors in kdoc
A number of copy and paste kdoc comments are referring to the wrong definition. Fix those cases. Reviewed-by: Pierrick Bouvier <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Message-Id: <[email protected]>
1 parent c08f9d8 commit 64965b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/qtest/libqos/qgraph.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ void qos_object_start_hw(QOSGraphObject *obj);
355355
QOSGraphObject *qos_machine_new(QOSGraphNode *node, QTestState *qts);
356356

357357
/**
358-
* qos_machine_new(): instantiate a new driver node
358+
* qos_driver_new(): instantiate a new driver node
359359
* @node: A driver node to be instantiated
360360
* @parent: A #QOSGraphObject to be consumed by the new driver node
361361
* @alloc: An allocator to be used by the new driver node.

tests/qtest/libqtest.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ QDict *qtest_qmp_event_ref(QTestState *s, const char *event);
365365
char *qtest_hmp(QTestState *s, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
366366

367367
/**
368-
* qtest_hmpv:
368+
* qtest_vhmp:
369369
* @s: #QTestState instance to operate on.
370370
* @fmt: HMP command to send to QEMU, formats arguments like vsprintf().
371371
* @ap: HMP command arguments
@@ -904,7 +904,7 @@ void qtest_qmp_assert_success(QTestState *qts, const char *fmt, ...)
904904

905905
#ifndef _WIN32
906906
/**
907-
* qtest_qmp_fd_assert_success_ref:
907+
* qtest_qmp_fds_assert_success_ref:
908908
* @qts: QTestState instance to operate on
909909
* @fds: the file descriptors to send
910910
* @nfds: number of @fds to send
@@ -921,7 +921,7 @@ QDict *qtest_qmp_fds_assert_success_ref(QTestState *qts, int *fds, size_t nfds,
921921
G_GNUC_PRINTF(4, 5);
922922

923923
/**
924-
* qtest_qmp_fd_assert_success:
924+
* qtest_qmp_fds_assert_success:
925925
* @qts: QTestState instance to operate on
926926
* @fds: the file descriptors to send
927927
* @nfds: number of @fds to send

0 commit comments

Comments
 (0)