[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191219210100.GQ17475@lunn.ch>
Date: Thu, 19 Dec 2019 22:01:00 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Russell King <rmk+kernel@...linux.org.uk>
Cc: Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] net: phy: ensure that phy IDs are correctly typed
On Thu, Dec 19, 2019 at 10:20:48AM +0000, Russell King wrote:
> PHY IDs are 32-bit unsigned quantities. Ensure that they are always
> treated as such, and not passed around as "int"s.
Hi Russell
Do we want to fix all cases?
struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id,
Andrew
Powered by blists - more mailing lists