qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 28/37] tests/qtest: fix some copy and paste errors in kdoc


From: Pierrick Bouvier
Subject: Re: [PATCH v2 28/37] tests/qtest: fix some copy and paste errors in kdoc
Date: Tue, 14 Jan 2025 10:23:55 -0800
User-agent: Mozilla Thunderbird

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>
---
  tests/qtest/libqos/qgraph.h | 2 +-
  tests/qtest/libqtest.h      | 6 +++---
  2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/qtest/libqos/qgraph.h b/tests/qtest/libqos/qgraph.h
index 1b5de02e7b..81fbfdd0e2 100644
--- a/tests/qtest/libqos/qgraph.h
+++ b/tests/qtest/libqos/qgraph.h
@@ -355,7 +355,7 @@ void qos_object_start_hw(QOSGraphObject *obj);
  QOSGraphObject *qos_machine_new(QOSGraphNode *node, QTestState *qts);
/**
- * qos_machine_new(): instantiate a new driver node
+ * qos_driver_new(): instantiate a new driver node
   * @node: A driver node to be instantiated
   * @parent: A #QOSGraphObject to be consumed by the new driver node
   * @alloc: An allocator to be used by the new driver node.
diff --git a/tests/qtest/libqtest.h b/tests/qtest/libqtest.h
index f23d80e9e5..fa08c7eca5 100644
--- a/tests/qtest/libqtest.h
+++ b/tests/qtest/libqtest.h
@@ -365,7 +365,7 @@ QDict *qtest_qmp_event_ref(QTestState *s, const char 
*event);
  char *qtest_hmp(QTestState *s, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
/**
- * qtest_hmpv:
+ * qtest_vhmp:
   * @s: #QTestState instance to operate on.
   * @fmt: HMP command to send to QEMU, formats arguments like vsprintf().
   * @ap: HMP command arguments
@@ -904,7 +904,7 @@ void qtest_qmp_assert_success(QTestState *qts, const char 
*fmt, ...)
#ifndef _WIN32
  /**
- * qtest_qmp_fd_assert_success_ref:
+ * qtest_qmp_fds_assert_success_ref:
   * @qts: QTestState instance to operate on
   * @fds: the file descriptors to send
   * @nfds: number of @fds to send
@@ -921,7 +921,7 @@ QDict *qtest_qmp_fds_assert_success_ref(QTestState *qts, 
int *fds, size_t nfds,
      G_GNUC_PRINTF(4, 5);
/**
- * qtest_qmp_fd_assert_success:
+ * qtest_qmp_fds_assert_success:
   * @qts: QTestState instance to operate on
   * @fds: the file descriptors to send
   * @nfds: number of @fds to send

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]