From nobody Sat May 4 03:26:14 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1631139723; cv=none; d=zohomail.com; s=zohoarc; b=mD3pPSHCC6uRrubcQkMkJxR0PleOCbmv/sbeTGXsmq6oTylHwKlhjNfAh+yePt3Dav3SToYdjDz+4ozub0eV865ymzdC1VT+2k3gnj5DXUEDj0g1Ii/gzfDIJq2vYFZUa63Hg+mcPtYoV/iTNszOHCquRRtYbs7G53PrYMNDanY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631139723; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=sox0ErEJCzF5se9cHfEhb93bZQg1lpJOq2y21MBeWHA=; b=O3kqAa4XMwYNpEfUfaPzbypLCQ6gRM6EhmFM2z4J4Nq1kyNMuIG9NTSH3pnW4A6inqK7YmuqZtmmEaGzo4P3n/CHiobdhH9iuZIKaq2D+S8X8pyRuhneWkpg/I0MNcB7r2fPQfp7guEZ/8xnFfT5ameFaeUHtZ7Suv1Re7RZMss= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 163113972306349.52276926976219; Wed, 8 Sep 2021 15:22:03 -0700 (PDT) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-197-jkiDbQl0MDCwxD5qwk0sxQ-1; Wed, 08 Sep 2021 18:22:01 -0400 Received: by mail-wm1-f69.google.com with SMTP id k5-20020a7bc3050000b02901e081f69d80so1429898wmj.8 for ; Wed, 08 Sep 2021 15:22:01 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (21.red-83-52-55.dynamicip.rima-tde.net. [83.52.55.21]) by smtp.gmail.com with ESMTPSA id z19sm3881594wma.0.2021.09.08.15.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 15:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631139722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sox0ErEJCzF5se9cHfEhb93bZQg1lpJOq2y21MBeWHA=; b=Y6N6l5VOi73+/vpBVgTxysoeKQHr5LkADDl6gtdXyVKRP+cL2ScoPTi6DQzTI+smNNdUPQ ONwobV/6dkkkIQwGEL4XmaCpr2zmLst6OSFCYAYq5v0q/z5a8xzfNuXq1mDI2L+6jt5Rrp JVYZDkEEB3AeBm/Nwbt9J+V/cKsnnaA= X-MC-Unique: jkiDbQl0MDCwxD5qwk0sxQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sox0ErEJCzF5se9cHfEhb93bZQg1lpJOq2y21MBeWHA=; b=nknrUhu/cymgMiVpedo171t8VesiYryuNfgb7Nn4RkinsMfoCuGp5payBoQs2Rxmvw mT8X1b9nnOY35DVNn8ddTjZzQbj6RjEukClo8s8nsw/ujI4+ZZraWGhG5/QKCq3LZdlN AGNSemCXLIg8lCt8z28QTQlgOkh9ed5/Xnq1746pO/hdlZcRLP71Y/mQMv8nBke1DKt4 thBUSXNS+/WI6TwVtbCiUA43uczajRojMZdteJkDPKMpRh5wewYOMnUFh9ylDEJhynUO b9R1B81Nn9srSv8NTwixFTpT8Ycifva3Ibe+gUStFs01ZHMS76nJX4WE6JOoiCSNJDh3 xTRg== X-Gm-Message-State: AOAM530OoJ21YLqB6ScgdNM92n1sMzskYBpjIpzVbAExhPQTuAOiAyer ov/75v+OuDvYvUbXi4cCRNCINaFqZdxBoYiy/fDJ3URVEUdaQRLxX0JVNP201SuuenPjdNXC8tX MFbQnN9B0AjH4hA== X-Received: by 2002:a5d:58cf:: with SMTP id o15mr524061wrf.312.1631139719698; Wed, 08 Sep 2021 15:21:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxw87ledNau73FknFQ6WyYJvP/da0ZEunenrueghy0KHVvY6a1jgfQJT8IohmtFgXzXveCCzg== X-Received: by 2002:a5d:58cf:: with SMTP id o15mr524036wrf.312.1631139719280; Wed, 08 Sep 2021 15:21:59 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Marcel Apfelbaum , Igor Mammedov , Eduardo Habkost , Ani Sinha , Paolo Bonzini , Richard Henderson , "Michael S. Tsirkin" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] hw/i386/acpi-build: Fix a typo Date: Thu, 9 Sep 2021 00:21:57 +0200 Message-Id: <20210908222157.2377282-1-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1631139724507100001 Fix 'hotplugabble' -> 'hotpluggabble' typo. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Ani Sinha --- hw/i386/acpi-build.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index d1f5fa3b5a5..478263e12c9 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -1916,7 +1916,7 @@ build_srat(GArray *table_data, BIOSLinker *linker, Ma= chineState *machine) PCMachineState *pcms =3D PC_MACHINE(machine); int nb_numa_nodes =3D machine->numa_state->num_nodes; NodeInfo *numa_info =3D machine->numa_state->nodes; - ram_addr_t hotplugabble_address_space_size =3D + ram_addr_t hotpluggabble_address_space_size =3D object_property_get_int(OBJECT(pcms), PC_MACHINE_DEVMEM_REGION_SIZ= E, NULL); =20 @@ -2022,10 +2022,10 @@ build_srat(GArray *table_data, BIOSLinker *linker, = MachineState *machine) * Memory devices may override proximity set by this entry, * providing _PXM method if necessary. */ - if (hotplugabble_address_space_size) { + if (hotpluggabble_address_space_size) { numamem =3D acpi_data_push(table_data, sizeof *numamem); build_srat_memory(numamem, machine->device_memory->base, - hotplugabble_address_space_size, nb_numa_nodes -= 1, + hotpluggabble_address_space_size, nb_numa_nodes = - 1, MEM_AFFINITY_HOTPLUGGABLE | MEM_AFFINITY_ENABLED= ); } =20 --=20 2.31.1