From patchwork Thu Oct 17 17:58:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ~axelheider X-Patchwork-Id: 13852739 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC01CD13587 for ; Sun, 27 Oct 2024 21:14:51 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5AaB-0005MZ-6l; Sun, 27 Oct 2024 17:13:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5Aa9-0005M8-Mh; Sun, 27 Oct 2024 17:13:53 -0400 Received: from mail-a.sr.ht ([46.23.81.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5Aa7-0007VM-Kz; Sun, 27 Oct 2024 17:13:53 -0400 DKIM-Signature: a=rsa-sha256; bh=P/QJArraF9s0Wj18D9e7gLOaNmiBzvEBCk+A4ZQSQHo=; c=simple/simple; d=git.sr.ht; h=From:Date:Subject:Reply-to:In-Reply-To:To:Cc; q=dns/txt; s=20240113; t=1730063627; v=1; b=aCaFxov3AI8MqsRyCTHsEsJXKE874ZjNVsC07zA3XnXaUq+DGzfdohpyjuEhMpcyeuMFm0HM gBGgbQsCt2AxDVfnP8tn9HBaVI8MgjCblgKGjhqPjtkxYn7+AnewvKc43IRRbxS1jXijs34Sdjs csDlfmZ6WB3iVk0vrkBcnlc9vaZnLLA4eBLJf8oTmGQk0if58hBU6THpt9X3HS9iLBwgqLYmw5M B/0hDq9Fnb3mKWZjnAofLnaRK+6tDhHC74KZz6sOq5CwGdN604qibTnohoVVTk0MU0LQosC5cvq Y9tD5sl6YeJh2+aGJnrivFE52WiXQ/9a8iHJ46SjTu34Q== Received: from git.sr.ht (unknown [46.23.81.155]) by mail-a.sr.ht (Postfix) with ESMTPSA id B4A37202BC; Sun, 27 Oct 2024 21:13:47 +0000 (UTC) From: ~axelheider Date: Thu, 17 Oct 2024 19:58:21 +0200 Subject: [PATCH qemu.git v2 1/2] docs/devel/reset: add missing words Message-ID: <173006362760.28451.11319467059840843945-1@git.sr.ht> X-Mailer: git.sr.ht In-Reply-To: <173006362760.28451.11319467059840843945-0@git.sr.ht> To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org MIME-Version: 1.0 Received-SPF: pass client-ip=46.23.81.152; envelope-from=outgoing@sr.ht; helo=mail-a.sr.ht X-Spam_score_int: 38 X-Spam_score: 3.8 X-Spam_bar: +++ X-Spam_report: (3.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FORGED_REPLYTO=2.095, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ~axelheider Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org From: Axel Heider Signed-off-by: Axel Heider --- docs/devel/reset.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/devel/reset.rst b/docs/devel/reset.rst index 74c7c0171a..3e64a7259f 100644 --- a/docs/devel/reset.rst +++ b/docs/devel/reset.rst @@ -286,7 +286,7 @@ 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 +In ``DeviceClass`` and ``BusClass`` the ``ResettableState`` is located in the ``DeviceState`` and ``BusState`` structure. ``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