From patchwork Tue Nov 6 17:58:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 150318 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4192795ljp; Tue, 6 Nov 2018 09:59:52 -0800 (PST) X-Google-Smtp-Source: AJdET5dwSYwW07KykyUaBqIwyOf1VuX7COS4aUfnlYfyr7A6QkBXraD3i1DImpShg8uDEcOZO0XH X-Received: by 2002:a65:520a:: with SMTP id o10mr25369454pgp.276.1541527192752; Tue, 06 Nov 2018 09:59:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541527192; cv=none; d=google.com; s=arc-20160816; b=MtgJ+7eUa4mkt8lqBCOE5/3WkCwG/b0FduLCvP8A3KB76woxhYX699Yy/GiqOf1//k ifwsSZQUdm9gpiJIxcphct6GO20n0KwXBYjGdQ6xbBEAKHXBtMF+0Ab1nC1XblQPSzQO IjHXYHRr6SAp+9US/3g19fULX/c3mRltIBGYm90odHFla8zgRlr27Hu9IbeRrWtKk//X RMSjP0WPw70hr1gvCIoRo23CkVjbTUFvb4HXCsW8SqvUh6eLby8IxNwO+mHCIqlwY2Jp hSJ/naeaTqlLsgW5IPCnbrv4pUXvW7DsEzX6fmPfX5E3fsScg/JvJ7krjQ0wVoj7hSaM WV7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=V0TZTIzxbBGK+AmixpuZs0fG8PD+yjTckFhCmZuOVfQ=; b=jynmQmeJDbJcPok4uT1XzOsooJS1DXsCwUOaHdLXw/Okb/OWc67HaBm3JHQI3KZeiW 3TWOrTuL+F9RwQeaQvScSlfGHFeZllTw8jpxvEa/DU+cVdeTxfFwUdfbQo430XGIkFK+ R3f45Nkdbi/IEy3wjeW5t2yYPf57sz7/xSrowaeu9r9s5OIY6xBtwOQXBJIliFjBLSSg DBynVSMa1YPW9ASDIsRdhk3bEsF/EEUwp+XbOoePTGUamlVP8omm6yNB4Su7DrRVhnnc 8KWw/Rg1pDR+tQWlDuKsEO/K1K6HXq6BUmeV7vYaY+/r6zyE9rzFRnlq1WdSo05NJdA5 BGHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DT4uLTCz; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id r26-v6si26666761pgb.372.2018.11.06.09.59.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:59:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DT4uLTCz; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 6588E2118D925; Tue, 6 Nov 2018 09:59:13 -0800 (PST) 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:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 CC9A32118C51E for ; Tue, 6 Nov 2018 09:59:11 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id i17-v6so14564135wre.7 for ; Tue, 06 Nov 2018 09:59:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MD5l3RndVRwqNwW1ijPEUy5GkuOVbnlm0RMjFz9QHm4=; b=DT4uLTCzyVYHg42FlhaPobmVvfsP3tueiArxxmaE/0nQPj6dicnt90hH6SlLsh0/bK wor2c57Bi/O+V2dbpRVUKI7OXWByJLPTnZASp5SP3ouqcFmyL8wgFnk5IGIj5qiPOOIA BhMEd0YBnnnJ3+L2kjqynLQnI2cjaMQOLCVTo= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=MD5l3RndVRwqNwW1ijPEUy5GkuOVbnlm0RMjFz9QHm4=; b=Oo6azFhVgbZjMi6dV98wjHfQac/a0uDJtAt5vxJWpNxHetkp10ZUf6pDkqRSrlyiyW 4yeBbyNlzSxktjmCuf4QxZNg6RicfCpgdAXACMvXk7if0YwsXM+49UqFYrDp7nIYxY3f RexIjes4gbZq8afv/KbIwiKnPZw2KXFkXBPOqYbJfG4vWMH8AGD/4Tn27MwZX1ANt6Jp gm/5n3QdvfD8io+kNI7UvbGZVH64uePMTKTGO5/e6rGyS0dJ4JSusgLIaEy07+w21H1N fDE2QUbk4WIGDWAsNmtIf/AQ7qQoXmJHl0u0gAXmQBLEk/DDXMdnB2k7Mz6MZDU3eYi2 yopQ== X-Gm-Message-State: AGRZ1gKARitpRdbg/+uYToRlWzV/27C0WiVP5NbGVqt6IuvlihCgJSKg YgFbqEIjPxk2IfEkNgkrFBY2Tc0ECto= X-Received: by 2002:adf:9051:: with SMTP id h75-v6mr16301526wrh.65.1541527150053; Tue, 06 Nov 2018 09:59:10 -0800 (PST) Received: from localhost.localdomain (laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id 134-v6sm2971522wmp.6.2018.11.06.09.59.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:59:09 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 6 Nov 2018 18:58:30 +0100 Message-Id: <20181106175833.26964-17-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181106175833.26964-1-ard.biesheuvel@linaro.org> References: <20181106175833.26964-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [edk2] [PATCH edk2-staging 16/19] IntelUndiPkg/GigUndiDxe: fix incorrect indentation X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: michael.d.kinney@intel.com, eric.jin@intel.com Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Silence a 'misleading indentation' GCC warning by fixing the incorrect indentation. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -- 2.19.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c b/IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c index e9fc5394ab28..6ce9ac3c5195 100644 --- a/IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c +++ b/IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c @@ -1102,13 +1102,13 @@ STATIC s32 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) if (!mac->get_link_status) return E1000_SUCCESS; - /* First we want to see if the MII Status Register reports - * link. If so, then we want to get the current speed/duplex - * of the PHY. - */ - ret_val = e1000_phy_has_link_generic(hw, 1, 0, &link); - if (ret_val) - return ret_val; + /* First we want to see if the MII Status Register reports + * link. If so, then we want to get the current speed/duplex + * of the PHY. + */ + ret_val = e1000_phy_has_link_generic(hw, 1, 0, &link); + if (ret_val) + return ret_val; if (hw->mac.type == e1000_pchlan) { ret_val = e1000_k1_gig_workaround_hv(hw, link);