From patchwork Tue Jun 3 06:00:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ganapatrao Kulkarni X-Patchwork-Id: 31321 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8CEDA203C2 for ; Tue, 3 Jun 2014 06:00:38 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id y20sf32671912ier.11 for ; Mon, 02 Jun 2014 23:00:38 -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:mime-version:date:message-id:from :to:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type; bh=9OH+tKblsfp2tTZw7JSaOaPpyE3O0Gz1B1OjWYqdNBY=; b=DIlm3rRwpC9A2mFRNeDlwt+RYg/2+fDqFzjTrlIk3c6kpfiXlTJ/iNNgFEyrqmucEN sM051ujR4QV+PkOU9P5+7XllP5RuVERQ+rVAew6S4LmmaPjpTd9fAwkhs1NGlqsBFzWm 0dFndMI72/TUdptLwDYyuDIt4UJckMln4WW4f44Mfo99ftSLUltmdkCD85N27G+I69oy tZ5CIY75Ka9iZvw9BecTF/AD3Wyp8jMEOVsE5PsfAtw0KVLJX3XUjB7djCf4rNMM1mce DQZ1sLj1pVBy6bSnoa53hjR4SeC8XmxGJCNVLVL/l0m7N5DCgmG1X7KrsddyGJTYVSDu /e/w== X-Gm-Message-State: ALoCoQny0GWQQqSMwu2G1lrqYH+dLpDaoifxeZ4Y7kiDoxqZLFPYpH5ZiO1oGcdBqDpWFFLZ7oI0 X-Received: by 10.50.239.196 with SMTP id vu4mr8557280igc.8.1401775238014; Mon, 02 Jun 2014 23:00:38 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.134 with SMTP id t6ls2345853qgd.20.gmail; Mon, 02 Jun 2014 23:00:37 -0700 (PDT) X-Received: by 10.220.253.132 with SMTP id na4mr5326905vcb.39.1401775237868; Mon, 02 Jun 2014 23:00:37 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id a20si9392636vej.36.2014.06.02.23.00.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Jun 2014 23:00:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id oz11so6460900veb.3 for ; Mon, 02 Jun 2014 23:00:37 -0700 (PDT) X-Received: by 10.58.29.234 with SMTP id n10mr35218574veh.16.1401775237758; Mon, 02 Jun 2014 23:00:37 -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.220.221.72 with SMTP id ib8csp151705vcb; Mon, 2 Jun 2014 23:00:37 -0700 (PDT) X-Received: by 10.58.85.3 with SMTP id d3mr7697457vez.34.1401775237445; Mon, 02 Jun 2014 23:00:37 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id c8si9381045vee.90.2014.06.02.23.00.36 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 02 Jun 2014 23:00:37 -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-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Wrhln-0004Bv-SC; Tue, 03 Jun 2014 06:00:23 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Wrhln-0004Bp-7Y for edk2-devel@lists.sourceforge.net; Tue, 03 Jun 2014 06:00:23 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.192.181 as permitted sender) client-ip=209.85.192.181; envelope-from=gpkulkarni@gmail.com; helo=mail-pd0-f181.google.com; Received: from mail-pd0-f181.google.com ([209.85.192.181]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Wrhll-0005kR-GQ for edk2-devel@lists.sourceforge.net; Tue, 03 Jun 2014 06:00:23 +0000 Received: by mail-pd0-f181.google.com with SMTP id z10so4232232pdj.40 for ; Mon, 02 Jun 2014 23:00:15 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.66.163.98 with SMTP id yh2mr16395928pab.104.1401775215710; Mon, 02 Jun 2014 23:00:15 -0700 (PDT) Received: by 10.70.84.4 with HTTP; Mon, 2 Jun 2014 23:00:15 -0700 (PDT) Date: Tue, 3 Jun 2014 11:30:15 +0530 Message-ID: From: Ganapatrao Kulkarni To: edk2-devel@lists.sourceforge.net, linaro-uefi@lists.linaro.org X-Spam-Score: -0.6 (/) 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 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gpkulkarni[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.181 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1Wrhll-0005kR-GQ Subject: [edk2] Fix to a bug in AhciMode.c 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: , Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: gpkulkarni@gmail.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Hi All, below patch fixes the bug which assigns the Status to error code on success. thanks Ganapat ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c index 950b5da..ab18dcb 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c @@ -782,7 +782,6 @@ AhciPioTransfer ( Offset = FisBaseAddr + EFI_AHCI_D2H_FIS_OFFSET; Status = AhciCheckMemSet (Offset, EFI_AHCI_FIS_TYPE_MASK, EFI_AHCI_FIS_REGISTER_D2H, 0); if (!EFI_ERROR (Status)) { - Status = EFI_DEVICE_ERROR; break; }