[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180903132756.GD4445@lunn.ch>
Date: Mon, 3 Sep 2018 15:27:56 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Quentin Schulz <quentin.schulz@...tlin.com>
Cc: davem@...emloft.net, robh+dt@...nel.org, mark.rutland@....com,
f.fainelli@...il.com, allan.nielsen@...rochip.com,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, thomas.petazzoni@...tlin.com
Subject: Re: [PATCH net-next v2 4/7] net: phy: mscc: read
'vsc8531,edge-slowdown' as an u32
On Mon, Sep 03, 2018 at 10:48:50AM +0200, Quentin Schulz wrote:
> In the DT binding, it is specified nowhere that 'vsc8531,edge-slowdown'
> is an u8, even though it's read as an u8 in the driver.
Hi Quentin
of_property_read_u8() will perform bounds checking. Is that important
here?
Thanks
Andrew
Powered by blists - more mailing lists