linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: dmurphy@ti.com
Cc: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com,
	robh@kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH net-next v9 2/5] net: phy: Add a helper to return the index for of the internal delay
Date: Mon, 22 Jun 2020 15:40:47 -0700 (PDT)	[thread overview]
Message-ID: <20200622.154047.909380525276436349.davem@davemloft.net> (raw)
In-Reply-To: <20200619161813.2716-3-dmurphy@ti.com>

From: Dan Murphy <dmurphy@ti.com>
Date: Fri, 19 Jun 2020 11:18:10 -0500

> +s32 phy_get_internal_delay(struct phy_device *phydev, struct device *dev,
> +			   const int *delay_values, int size, bool is_rx)
> +{
> +	int i;
> +	s32 delay;

Please use reverse christmas tree ordering for local variables.

  reply	other threads:[~2020-06-22 22:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19 16:18 [PATCH net-next v9 0/5] RGMII Internal delay common property Dan Murphy
2020-06-19 16:18 ` [PATCH net-next v9 1/5] dt-bindings: net: Add tx and rx internal delays Dan Murphy
2020-06-22 22:40   ` David Miller
2020-06-23  1:18     ` Dan Murphy
2020-06-19 16:18 ` [PATCH net-next v9 2/5] net: phy: Add a helper to return the index for of the internal delay Dan Murphy
2020-06-22 22:40   ` David Miller [this message]
2020-06-23  1:19     ` Dan Murphy
2020-06-19 16:18 ` [PATCH net-next v9 3/5] dt-bindings: net: Add RGMII internal delay for DP83869 Dan Murphy
2020-06-19 16:18 ` [PATCH net-next v9 4/5] net: dp83869: Add RGMII internal delay configuration Dan Murphy
2020-06-19 16:18 ` [PATCH net-next v9 5/5] net: phy: DP83822: Add setting the fixed internal delay Dan Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200622.154047.909380525276436349.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=andrew@lunn.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dmurphy@ti.com \
    --cc=f.fainelli@gmail.com \
    --cc=hkallweit1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).