From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AJdET5fXMGW8wi0UHCNVhCcG6dmBZgQ3fFt40fetXTmRQYNm55omgEsQ5Ub2efG/wXcE3oNdrQPwIQ== 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 Cc: maciej.rabeda@intel.com, michael.d.kinney@intel.com, eric.jin@intel.com, leif.lindholm@linaro.org, Ard Biesheuvel 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: [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: , X-List-Received-Date: Tue, 06 Nov 2018 17:59:12 -0000 Content-Transfer-Encoding: 8bit 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(-) 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); -- 2.19.1