Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5602902img; Wed, 27 Mar 2019 11:30:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuqljSTGkuBfAgzJdpGWb/qHnHzUDWH0rpd48NZ815Mt437x21a81l2PRjXULH76Nn9LDK X-Received: by 2002:a17:902:290b:: with SMTP id g11mr38471107plb.269.1553711452653; Wed, 27 Mar 2019 11:30:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553711452; cv=none; d=google.com; s=arc-20160816; b=erSkOW0Dm/Gdb/448V9h9q+Scavlw7gL+MlHk5SybRmiQ3r+XXsyORI55H9gx0pTss 9PT/HSA+2bw41bhEJ60iPs1QijOM2NP6vkhaT3hnh2buf8vz3WkYNkIq+7g/FRbOnyci PXk+q1N3mO5WUqzbcg+TU+zMuLjtqP1eKQ4pkx0EFj9iOBEzasO9GiAff9u2Z3FyD3R3 FEnZcf7AA+5PuC67sSRE/UbLk+GQevK2x2B0Ao8vHLkBwHSzRRyW/OfP1si+VBdRJA1K Wkv0qN93es7sh9AIFfIus8KqxyH25YZvvOiSU6aeT3ok161fEAz9R4tNrqX9EqlQUmJw wiMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=tBQXd/A7Y7RLiwtE2wf+czORffRexbTcZim0/Fymmis=; b=m731SkCF7D4sUsee4deazLEzDeI9X1FAbwaeNoTGJcAtxQ3EFdh4Yvs7RY0EqA8EkP s4aW7RHk+tCWL8mWXFdxWiok60hXS5B3E1X8Ti108J33JH6s6X/WtNnctcwPE5fz3CEb S5O/f114PfXbgMVxGwUBYm3V65MzZRlbOHB3OJT/U2jPAUXw+7mvH9xyBd4XNTa5Umps i8v7XX6+nA+jx7Y6hKma8n0W61D6p9fFMQx401z+WDoW4nKX4TiXyAMrlU8DOUJkm0BV kfaIBmKiLCTKZTGnQGEqCDwFf6m1Z6lwAOm60Dk9yDqVdFPLXN8t8ee0qIGZz1mcPus8 7/9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o24si18333700pgk.41.2019.03.27.11.30.37; Wed, 27 Mar 2019 11:30:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391418AbfC0S31 (ORCPT + 99 others); Wed, 27 Mar 2019 14:29:27 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:56538 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391694AbfC0S3Y (ORCPT ); Wed, 27 Mar 2019 14:29:24 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id A080F14C850BB; Wed, 27 Mar 2019 11:29:23 -0700 (PDT) Date: Wed, 27 Mar 2019 11:29:23 -0700 (PDT) Message-Id: <20190327.112923.2284635623125598604.davem@davemloft.net> To: Kavyasree.Kotagiri@microchip.com Cc: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, quentin.schulz@bootlin.com Subject: Re: [PATCH v1 1/2] net: phy: mscc: add support for VSC8514 PHY From: David Miller In-Reply-To: <20190327095553.6234-1-kavyasree.kotagiri@microchip.com> References: <20190327095553.6234-1-kavyasree.kotagiri@microchip.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 27 Mar 2019 11:29:24 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Date: Wed, 27 Mar 2019 09:56:13 +0000 > +static u32 vsc85xx_csr_ctrl_phy_read(struct phy_device *phydev, > + u32 target, u32 reg) > +{ > + u32 val, val_l, val_h; > + unsigned long deadline; Please order local variable declarations from longest to shortest line, ie. reverse christmas tree. > +static int vsc8514_config_init(struct phy_device *phydev) > +{ > + int ret, i; > + u16 val, addr; > + u32 reg; > + unsigned long deadline; > + struct vsc8531_private *vsc8531 = phydev->priv; Likewise.