[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YGzvFI+hLVp96HiP@lunn.ch>
Date: Wed, 7 Apr 2021 01:30:28 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Marek BehĂșn <kabel@...nel.org>
Cc: netdev@...r.kernel.org, Russell King <rmk+kernel@...linux.org.uk>,
"David S . Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>, kuba@...nel.org
Subject: Re: [PATCH net-next v3 07/18] net: phy: marvell10g: support all rate
matching modes
> +static inline const struct mv3310_chip *
> +to_mv3310_chip(struct phy_device *phydev)
> +{
> + return phydev->drv->driver_data;
> +}
No inline functions in C code please. Let the compiler decide.
Andrew
Powered by blists - more mailing lists