From patchwork Tue Jul 7 16:56:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 50846 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 876FF229FC for ; Tue, 7 Jul 2015 16:57:18 +0000 (UTC) Received: by wgwk7 with SMTP id k7sf8021787wgw.0 for ; Tue, 07 Jul 2015 09:57:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=d0Eo0pC14pVuyvhcy9TI4DgIQa/up6WuV8/Sh1oVOjc=; b=eGD3U3iHaigxpB33wN6xwRSUNAvdCNPWEleSmAb09f6zLZv3jnqMj6tfrT8eo2VpgT pw47116YhQgrT3JfInZX/x5eQDvsN580fzaeWTz3Y7qh4l2B5tyyA7e4eEqNiRq4QOvW v/vgBWl0aUTYRtz/3j8yAiNrCuE61wTvnyrFQdJJ1tEPWEi4CmdIU4CxYIah982mKBqz kQL393WM52mdvNBQtskEoyYqpnsX097eHFViJyJtAPygySA9rkISf44wsoVtQZW7QmV4 RcrzA2J8SQfywU34Y1o0PwBEArgNu2n0Ceu9h4I2GOfQyMaNMVEg9pqQWZpK+KWJNWtO luBw== X-Gm-Message-State: ALoCoQmGZtiPQMvWj02t9uPhvvynZQKimSA9x69yTrHXHLx1I8d9gRrY4ZLnOTgaTu/Js3nUjbAx X-Received: by 10.152.179.136 with SMTP id dg8mr2587910lac.4.1436288237763; Tue, 07 Jul 2015 09:57:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.103 with SMTP id r7ls698196lah.106.gmail; Tue, 07 Jul 2015 09:57:17 -0700 (PDT) X-Received: by 10.152.25.227 with SMTP id f3mr4769179lag.67.1436288237615; Tue, 07 Jul 2015 09:57:17 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id q2si18563986laq.102.2015.07.07.09.57.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 09:57:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by labgy5 with SMTP id gy5so51280913lab.2 for ; Tue, 07 Jul 2015 09:57:17 -0700 (PDT) X-Received: by 10.152.26.163 with SMTP id m3mr4927841lag.86.1436288237517; Tue, 07 Jul 2015 09:57:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2519084lbb; Tue, 7 Jul 2015 09:57:16 -0700 (PDT) X-Received: by 10.50.142.9 with SMTP id rs9mr50309250igb.17.1436288235820; Tue, 07 Jul 2015 09:57:15 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id j9si16816091igg.6.2015.07.07.09.57.15 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 07 Jul 2015 09:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZCWB7-0005vM-Bp; Tue, 07 Jul 2015 16:57:05 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZCWB5-0005vF-Od for edk2-devel@lists.sourceforge.net; Tue, 07 Jul 2015 16:57:03 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.220.43 as permitted sender) client-ip=209.85.220.43; envelope-from=heyi.guo@linaro.org; helo=mail-pa0-f43.google.com; Received: from mail-pa0-f43.google.com ([209.85.220.43]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZCWB5-0008GC-0u for edk2-devel@lists.sourceforge.net; Tue, 07 Jul 2015 16:57:03 +0000 Received: by pabvl15 with SMTP id vl15so116048389pab.1 for ; Tue, 07 Jul 2015 09:56:57 -0700 (PDT) X-Received: by 10.67.2.34 with SMTP id bl2mr10955019pad.104.1436288217446; Tue, 07 Jul 2015 09:56:57 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by mx.google.com with ESMTPSA id i4sm22505073pdk.74.2015.07.07.09.56.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jul 2015 09:56:56 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.sourceforge.net Date: Wed, 8 Jul 2015 00:56:30 +0800 Message-Id: <1436288191-16773-3-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436288191-16773-1-git-send-email-heyi.guo@linaro.org> References: <1436288191-16773-1-git-send-email-heyi.guo@linaro.org> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1ZCWB5-0008GC-0u Subject: [edk2] [PATCH 2/3] MdeModulePkg: TerminalDxe: Fix bug of NullRemaining flag X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: heyi.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 NullRemaining should be set to FALSE by fault and then be set to TRUE conditionally. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo --- MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c index 966fb79..1897196 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c +++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c @@ -556,7 +556,7 @@ TerminalDriverBindingStart ( DefaultNode = NULL; ConInSelected = FALSE; ConOutSelected = FALSE; - NullRemaining = TRUE; + NullRemaining = FALSE; SimTxtInInstalled = FALSE; SimTxtOutInstalled = FALSE; FirstEnter = FALSE;