From patchwork Wed May 7 18:03:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 888083 Delivered-To: patch@linaro.org Received: by 2002:a5d:4683:0:b0:38f:210b:807b with SMTP id u3csp514233wrq; Wed, 7 May 2025 11:05:49 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVC6YIBhohUvZda97RcY5YkDxh2lF320uYMgCdeQ9LCBGlQBNWTrqEYvbeD2iWGlLBe3kGW9g==@linaro.org X-Google-Smtp-Source: AGHT+IFQGq+jPF5ESUWbP/HWFaKa93rfvRs7q5UpVuKR3MaghT/trVLsArIyx+SInAPjturr2IIq X-Received: by 2002:a05:622a:2b43:b0:489:6712:3e0b with SMTP id d75a77b69052e-4944924da45mr7950121cf.14.1746641148856; Wed, 07 May 2025 11:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746641148; cv=none; d=google.com; s=arc-20240605; b=AJwrkj/q1grogC51W6d7wS9M6Mg4rIfYW6LKvPfkGUlANLqWzNGiZLs61Odl0w3Pwx 7YC6qp1qMCzqzn/qCQ+Yi01K/KPhsrMg6kjLU/yBsYt58UTlQaAf2JhTP+Mso550nZeq iXqjOI3mlme12UTsBQJc9fwj/82f3Ov77DCHeOmc7Y9nLsXjnGGhTwE8CBeuRZqcOaaJ +pT8no/CNaeeAjDjy3+ia3SBTdxujZtAQ0JKAAHR98rwTXRxp/rEqYGh+7JakWkaTfdd s0ZKb55JFbZVxe6RnLsw0i+1Vfthff+h5a3DaSA53LIKZJX3bvtt4g6XYinU9VRMt/79 Ptaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=R8XGokrfaBP/W26whn9GoLHN5C9LlitNjPwDIqRNyGs=; fh=IwCXGV4wPY6ObB9cIuDHqEqMPAzAKMp05WxPgfySCiA=; b=AGqAywyxn96f9DCD595f8BTw0qkHZsp4Fr245DbpS1I+2fL1zPFvebJ5/wFHVAIz/7 T8uY72Yfwp9kvdyCCDqn2FX/hXPyk9/DZLV8WfoAZqA2G+Fnjl5OL85sbYgKZHOxIhlf 8ZnwcXTsWBdQxO9+H/LnChdjx7SVZ3ZyEeNODdVsHYhjdHBiiMhtt+JIP/etVf1AvnAI AX6InX4ooiO7kwYbofnju5CicFyy888HYInD0dI/1wdZs+hzFkOITwK7qtE4MU+TjfUW Wjz6EUE6gZAWZtA7+Li91I1lGdW2Vuwzu1+zbVoW9gBjv6x0VqaBnEDPHWfwF7Ak8iiI OSpw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-49220f837b7si25916161cf.23.2025.05.07.11.05.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 May 2025 11:05:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uCj8D-0008AM-J8; Wed, 07 May 2025 14:04:34 -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 1uCj8B-00089P-NP; Wed, 07 May 2025 14:04:31 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uCj8A-0008B8-1u; Wed, 07 May 2025 14:04:31 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 3EB8311FEFC; Wed, 07 May 2025 21:04:00 +0300 (MSK) Received: from think4mjt.origo (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 1B7CB206701; Wed, 7 May 2025 21:04:13 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Gustavo Romero , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 07/21] hw/i386/acpi-build: Fix typo in function name Date: Wed, 7 May 2025 21:03:58 +0300 Message-Id: <20250507180412.182797-8-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250507180412.182797-1-mjt@tls.msk.ru> References: <20250507180412.182797-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Gustavo Romero Fix missing "i" in the name of the function responsible for adding the call to the PCI notification method (PCNT) in the ACPI table. Signed-off-by: Gustavo Romero Reviewed-by: Eric Auger Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- hw/i386/acpi-build.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index b5836417a0..f40ad062f9 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -589,8 +589,8 @@ void build_append_pci_bus_devices(Aml *parent_scope, PCIBus *bus) } } -static bool build_append_notfication_callback(Aml *parent_scope, - const PCIBus *bus) +static bool build_append_notification_callback(Aml *parent_scope, + const PCIBus *bus) { Aml *method; PCIBus *sec; @@ -604,7 +604,7 @@ static bool build_append_notfication_callback(Aml *parent_scope, continue; } nr_notifiers = nr_notifiers + - build_append_notfication_callback(br_scope, sec); + build_append_notification_callback(br_scope, sec); /* * add new child scope to parent * and keep track of bus that have PCNT, @@ -1773,7 +1773,7 @@ build_dsdt(GArray *table_data, BIOSLinker *linker, PCIBus *b = PCI_HOST_BRIDGE(pci_host)->bus; scope = aml_scope("\\_SB.PCI0"); - has_pcnt = build_append_notfication_callback(scope, b); + has_pcnt = build_append_notification_callback(scope, b); if (has_pcnt) { aml_append(dsdt, scope); }