From patchwork Thu Jun 10 18:13:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 458312 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43B32C48BD1 for ; Thu, 10 Jun 2021 18:14:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2AA93613F1 for ; Thu, 10 Jun 2021 18:14:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230303AbhFJSQh (ORCPT ); Thu, 10 Jun 2021 14:16:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229941AbhFJSQh (ORCPT ); Thu, 10 Jun 2021 14:16:37 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4147CC061574 for ; Thu, 10 Jun 2021 11:14:26 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id my49so600255ejc.7 for ; Thu, 10 Jun 2021 11:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Cb3Vo2vLk4ryIodn1SYTiwH3Et1KhclqG020AZoiFgU=; b=Iwd7zwEvW8w+wrswP7X44bigS/+5qlO5wciw80S5Hd5Zcu3s8zjbWqs9Gd6INzb01C UKI40wGuGMZQZG2sw+OTjfC992OWmKj6wQaNsA60kiz4OxI6KhtUzsvMEKdo0H5D3Kjt vGeLy1Ee8taKtaKjK4uz6w7Mqc1O/H182DoR8lztYXQoM8ONUUaQSbrLpQsulXNIyxWz Dv53a9rswaTnzj7RNec8kXtkCiFbkQyi8Og4U4rwr5WWkKumJIjPoGYiSwvTKUV7EwfE d1ZyhgYZl4msf1oqbcaWrLv7dfbY5fE24dfez4q11vu8i6iwTkwmdnUyP172YIMkWp8Z dZSw== 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=Cb3Vo2vLk4ryIodn1SYTiwH3Et1KhclqG020AZoiFgU=; b=Ola+dal3bsbhy8sufyI0upnGLcB22eEHZa8E0m+8ikEIBJ5+FZwF5lKvTI1TTjq+rX pAy+FNri0IKca1wpCX00Prg6wTIKfz12VZ61HHS8zItsqNB3tYPUDH3lUd7F/rbu9ZYo +9jMp8sHT4wk0xCFlvneB7nkjWGmWuaAkdnQvt60iTw0k1msRIl5OnytX5z9NwF1UdDZ VB+qoIhJwLYJSMrt94QPrJjFW+5rPNTmhD3W27M/8O1aJ4roGedD35XKrQpNRoXiSA0i /a+Ikp/gLji/tqqk08LZyt1wBN6NeJfx0LqyDxv6KTQxh5CcodqSCV2eSPCmFwJHuTbt i1/g== X-Gm-Message-State: AOAM531GIrHL+cThoQYqHnzBrZ2HeMtmnQM7bVkVLL1JBnUQjAI0NAKo 5JcnbXy3pCC0shzWiVF8ZW5eLH2t1eo= X-Google-Smtp-Source: ABdhPJy/oECYbUHUPJVNtFB2jUtCUu/UpRbS7MJuhkCUKWhPrFKhSyUD+nuXOr5/y/7k4QV0mrQsWg== X-Received: by 2002:a17:907:2648:: with SMTP id ar8mr784946ejc.521.1623348864771; Thu, 10 Jun 2021 11:14:24 -0700 (PDT) Received: from localhost.localdomain ([188.26.52.84]) by smtp.gmail.com with ESMTPSA id dh18sm1705660edb.92.2021.06.10.11.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 11:14:23 -0700 (PDT) From: Vladimir Oltean To: Jakub Kicinski , "David S. Miller" , netdev@vger.kernel.org Cc: Wong Vee Khee , Ong Boon Leong , Michael Sit Wei Hong , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Jose Abreu , Maxime Coquelin , Heiner Kallweit , Russell King - ARM Linux admin , Florian Fainelli , Andrew Lunn , Vivien Didelot , Vladimir Oltean Subject: [PATCH v2 net-next 02/13] net: stmmac: reverse Christmas tree notation in stmmac_xpcs_setup Date: Thu, 10 Jun 2021 21:13:59 +0300 Message-Id: <20210610181410.1886658-3-olteanv@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210610181410.1886658-1-olteanv@gmail.com> References: <20210610181410.1886658-1-olteanv@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Vladimir Oltean Reorder the variable declarations in descending line length order, according to the networking coding style. Signed-off-by: Vladimir Oltean Reviewed-by: Wong Vee Khee --- v1->v2: none drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c index 3b3033b20b1d..a5d150c5f3d8 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c @@ -399,11 +399,11 @@ int stmmac_mdio_reset(struct mii_bus *bus) int stmmac_xpcs_setup(struct mii_bus *bus) { - int mode, addr; struct net_device *ndev = bus->priv; - struct dw_xpcs *xpcs; - struct stmmac_priv *priv; struct mdio_device *mdiodev; + struct stmmac_priv *priv; + struct dw_xpcs *xpcs; + int mode, addr; priv = netdev_priv(ndev); mode = priv->plat->phy_interface;