From patchwork Tue May 1 16:32:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 134785 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5148046lji; Tue, 1 May 2018 09:32:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoTyGBY6P1z6gpimId1VgxHabcOhM36jT/w6gHv+uZkl8VaShwF7sUKg2hJVmzUcGsuXWA/ X-Received: by 2002:a17:902:988b:: with SMTP id s11-v6mr12765617plp.304.1525192373199; Tue, 01 May 2018 09:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525192373; cv=none; d=google.com; s=arc-20160816; b=oxGkhT0L5h5DaEovkZAOaw+Pjk1LpzuPvRzebgam09ihdFHZY5xZvPUy60iCdRCDBb ZoGiwe1Wx3LtkBv6GeGnot1xesBKAOnKFYwp0b+Pb1ite0Cc5grXs++iUoLVgfHmVpwP zL5GEKi/K2pGSUpQaYxPzkXUTqnhgxvbSeWkrtuar6+1ccwY5b5c4Nxz7lABWZ3QXw5w ufrh1bMwwjpnMUsHxL/GPc0O2Zhp9xESvMcgoamZwpVZPJRCY251yL8fIaO3Q+VcqMZG 7wo++Wviw/Q3Q5OAxIRP7dZoeUSIGLbBZYmv4c8WnZ/9qstFTXpGj101DVZWcm3fOpsx zacA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=XD+z9A+8Fgmxpt5SFX6EeH3C86xZkR3GwkH8CBrjaak=; b=MYCp5MAvlKuH6ZkEQAtsJ9ZKGDy8wAOJuVcU6e8bYONjNdpDVd3yj0uWG/YlrK5GwU ztKDTfW1GLC4qo0YB4IOqtZIioGWIKM+8ke0MgNuo0EfG561fS0BJhjwZLZpMq3b9+Bh APRIG9rCU6qgg957+G7mMUgCiizy2Bi7jeL52nxylqLLeR/y2x+quWpA368AYb8FD7eF eUllP3STwTHCIA3uuembhwyZxXYUd/CPqFOiUXH5R531sf7Paw4V4dCJfKUXNRMPiKJx gNcWSAHg83tXrz8PX0rEWx8l2yBiIO2qLHE27Sb+VVYZHNiWr0fBcUnWhtpE24Mjl4bD pcRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ktbyNoK1; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id o63si8858389pfg.5.2018.05.01.09.32.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 May 2018 09:32:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ktbyNoK1; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9CC6C2035D6C8; Tue, 1 May 2018 09:32:52 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5AFDD2007E7EE for ; Tue, 1 May 2018 09:32:50 -0700 (PDT) Received: by mail-wr0-x244.google.com with SMTP id v60-v6so11282530wrc.7 for ; Tue, 01 May 2018 09:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=mlpDYhYOX/Xf05/Dz17DnDnbguyEuTysFTTnOU2HMPY=; b=ktbyNoK10DJ9JEMiJRMXGqdWYGioPI1AB3GLVZp59UaFo/9J+avxZWKnIvj+sGj8iA aZFZvRPv2zRm8eokuRfRr12hAVlb+iUw+c6l/jWMu54/oXOmY+qKffeSH4ZPWJszw4hk xuV1cVUcezhFVXE8Ui0pcAFJ8zzpDLWF0Ehg8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mlpDYhYOX/Xf05/Dz17DnDnbguyEuTysFTTnOU2HMPY=; b=d+VDoUxoi6rM8QMvvgRX3nRiIuui4izF5+HXHos5lYr8IYonG3g3OGUICPW/4NvTSH cfXI61Y5pcEk1Fu+gd7vF+ukjFdKBgNQOI0Hq0vr0vEHtDA3Ta8u+EbzvmijZl/US9np TmGzmH4bTWQ2obC8T9ls0S82ejxL/YxjFAswX2fdcBqTVDIVa/pme/KLP+wg38qZDaNg VwCdHTMlsYIJfKFg1DuqACOjK14ygosemge9asvxTw4/slOdUP3HE6dbBUm5FHUAG3L5 J8+w3Yt4gNCi7fd8si3rHfuW2M0TsNKNaOgyRGwVfOA9p8OSRK6HPHyqZjwc+Mxr76Vt h9pg== X-Gm-Message-State: ALQs6tAc09nMRD1W7IgxQ4CtAB0plRXU4uppzLIAcpUaGGBzDFa3gyAE T2+pxHaXERuNeqaHaJ0OF3vMp1kbK9Q= X-Received: by 2002:adf:b88f:: with SMTP id i15-v6mr11490454wrf.163.1525192368806; Tue, 01 May 2018 09:32:48 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id a69sm9460896wma.7.2018.05.01.09.32.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 May 2018 09:32:48 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 1 May 2018 18:32:44 +0200 Message-Id: <20180501163244.17402-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 Subject: [edk2] [PATCH edk2-platforms] Silicon/AMD/Styx/AcpiTables: fix wrongly copy/pasted variable name X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: neko@bakuhatsu.net, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Rename the variable holding the Styx PPTT table to mStyxPpttTable. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Silicon/AMD/Styx/AcpiTables/Pptt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/Silicon/AMD/Styx/AcpiTables/Pptt.c b/Silicon/AMD/Styx/AcpiTables/Pptt.c index d9d7c494d86f..1746bbe8b596 100644 --- a/Silicon/AMD/Styx/AcpiTables/Pptt.c +++ b/Silicon/AMD/Styx/AcpiTables/Pptt.c @@ -156,7 +156,7 @@ typedef struct { } \ } -STATIC STYX_PPTT_TABLE mSynQuacerPpttTable = { +STATIC STYX_PPTT_TABLE mStyxPpttTable = { { AMD_ACPI_HEADER(EFI_ACPI_6_2_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_STRUCTURE_SIGNATURE, STYX_PPTT_TABLE, @@ -221,5 +221,5 @@ PpttHeader ( VOID ) { - return (EFI_ACPI_DESCRIPTION_HEADER *)&mSynQuacerPpttTable.Pptt.Header; + return (EFI_ACPI_DESCRIPTION_HEADER *)&mStyxPpttTable.Pptt.Header; }