From patchwork Fri Jun 21 07:48:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Harkin X-Patchwork-Id: 18036 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f198.google.com (mail-gh0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CF6BE25A2B for ; Fri, 21 Jun 2013 07:48:25 +0000 (UTC) Received: by mail-gh0-f198.google.com with SMTP id r13sf6918267ghr.1 for ; Fri, 21 Jun 2013 00:48:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=qVvnUTfdP6y1HRuansiGg2opUA++qcZMm+VoA+Z4BSA=; b=atySK4awM1dDh8ci/6KrPn9ozYAHF4Vfd3OObWuKEK80w+dN/tUCC2aaEusrkRTgfH rpHXwFQfrczeQodXGN5Nrki3nbM1yla2S6hqYRqIu9XGT70DgIumh3SMYUSQMkKcRb7S WR6DKLaVeU86eQC3GEegVpEApr60IkgLqw0lgN2rEUYBYgWBvuD2hD25fnXO1tLgQRrs wseY5K+92RPPenmw1JAE40v8SZGoutaF9GuePr7Z+V4tZJGbNntVTKu7BzjElJ3f8Bs1 7jp8qwNCIWSRaKh2rfv+cRkew6PdfyMreWpCHxwaZKnkyWYBz6eWfZ1eXz2lY2gEmqUr uFpQ== X-Received: by 10.236.142.11 with SMTP id h11mr6354418yhj.55.1371800905548; Fri, 21 Jun 2013 00:48:25 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.104.112 with SMTP id gd16ls1034228qeb.68.gmail; Fri, 21 Jun 2013 00:48:25 -0700 (PDT) X-Received: by 10.220.42.147 with SMTP id s19mr4736928vce.46.1371800905402; Fri, 21 Jun 2013 00:48:25 -0700 (PDT) Received: from mail-vb0-x235.google.com (mail-vb0-x235.google.com [2607:f8b0:400c:c02::235]) by mx.google.com with ESMTPS id r3si1199600vcf.140.2013.06.21.00.48.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Jun 2013 00:48:25 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::235 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::235; Received: by mail-vb0-f53.google.com with SMTP id p12so5576946vbe.12 for ; Fri, 21 Jun 2013 00:48:25 -0700 (PDT) X-Received: by 10.58.45.70 with SMTP id k6mr5190884vem.9.1371800905316; Fri, 21 Jun 2013 00:48:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp51168veb; Fri, 21 Jun 2013 00:48:24 -0700 (PDT) X-Received: by 10.194.108.132 with SMTP id hk4mr7811520wjb.43.1371800904226; Fri, 21 Jun 2013 00:48:24 -0700 (PDT) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [2a00:1450:400c:c00::235]) by mx.google.com with ESMTPS id pi6si1528907wjb.23.2013.06.21.00.48.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Jun 2013 00:48:24 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c00::235 is neither permitted nor denied by best guess record for domain of ryan.harkin@linaro.org) client-ip=2a00:1450:400c:c00::235; Received: by mail-wg0-f53.google.com with SMTP id y10so6215719wgg.8 for ; Fri, 21 Jun 2013 00:48:23 -0700 (PDT) X-Received: by 10.180.87.162 with SMTP id az2mr1975883wib.10.1371800903822; Fri, 21 Jun 2013 00:48:23 -0700 (PDT) Received: from qpc.lan (82-69-54-187.dsl.in-addr.zen.co.uk. [82.69.54.187]) by mx.google.com with ESMTPSA id dz8sm20951335wib.11.2013.06.21.00.48.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Jun 2013 00:48:23 -0700 (PDT) From: Ryan Harkin To: ryan.harkin@linaro.org, edk2-devel@lists.sourceforge.net, patches@linaro.org, boot-architecture@lists.linaro.org Subject: [PATCH] MdeModulePkg: fix compilation errors Date: Fri, 21 Jun 2013 08:48:18 +0100 Message-Id: <1371800898-15026-1-git-send-email-ryan.harkin@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQnDmm6/ffcGEvmVcsewIXkOtY3BPVlsJfhbj2+A9On+sGqyuGb3zJNLDp0oFG7J6dItRUGK X-Original-Sender: ryan.harkin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::235 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Leif Lindholm This patch fixes a minor error that prevents the native ARM compiler from building the code. Signed-off-by: Leif Lindholm --- .../Universal/SetupBrowserDxe/Expression.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c index cd29e29..29de503 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c @@ -1511,7 +1511,7 @@ IfrMid ( Result->BufferLen = (UINT16)((BufferLen - Base) < Length ? (BufferLen - Base) : Length); Result->Buffer = AllocateZeroPool (Result->BufferLen); ASSERT (Result->Buffer != NULL); - CopyMem (Result->Buffer, &Value[2].Buffer[Base], Result->BufferLen); + CopyMem (Result->Buffer, &Buffer[Base], Result->BufferLen); } FreePool (Value[2].Buffer);