aboutsummaryrefslogtreecommitdiff
path: root/docs/devel
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-10-29 12:54:45 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-10-29 15:04:47 +0000
commit361dfa9757e8b7c233592f4d235b63aa834ce57a (patch)
treebe417dbc321d9938214be38a26eb81217db6f7a8 /docs/devel
parentbab209af35037b33f7eb1b8a3737085935bec3a3 (diff)
downloadqemu-361dfa9757e8b7c233592f4d235b63aa834ce57a.zip
qemu-361dfa9757e8b7c233592f4d235b63aa834ce57a.tar.gz
qemu-361dfa9757e8b7c233592f4d235b63aa834ce57a.tar.bz2
docs/devel/reset: Fix minor grammatical error
Fix a minor grammatical error in the reset documentation: a couple of missing words and a singular/plural swap. Signed-off-by: Axel Heider <axel.heider@codasip.com> Message-id: 173006362760.28451.11319467059840843945-1@git.sr.ht [PMM: squashed two patches into one, tweaked commit message] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs/devel')
-rw-r--r--docs/devel/reset.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/devel/reset.rst b/docs/devel/reset.rst
index 74c7c01..adefd59 100644
--- a/docs/devel/reset.rst
+++ b/docs/devel/reset.rst
@@ -286,8 +286,8 @@ every reset child of the given resettable object. All children must be
resettable too. Additional parameters (a reset type and an opaque pointer) must
be passed to the callback too.
-In ``DeviceClass`` and ``BusClass`` the ``ResettableState`` is located
-``DeviceState`` and ``BusState`` structure. ``child_foreach()`` is implemented
+In ``DeviceClass`` and ``BusClass`` the ``ResettableState`` is located in the
+``DeviceState`` and ``BusState`` structures. ``child_foreach()`` is implemented
to follow the bus hierarchy; for a bus, it calls the function on every child
device; for a device, it calls the function on every bus child. When we reset
the main system bus, we reset the whole machine bus tree.