[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190522.174422.2007799425271972845.davem@davemloft.net>
Date: Wed, 22 May 2019 17:44:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tpiepho@...inj.com
Cc: netdev@...r.kernel.org, devicetree@...r.kernel.org, andrew@...n.ch,
f.fainelli@...il.com, hkallweit1@...il.com
Subject: Re: [PATCH net-next v2 5/8] net: phy: dp83867: Use unsigned
variables to store unsigned properties
From: Trent Piepho <tpiepho@...inj.com>
Date: Wed, 22 May 2019 18:43:24 +0000
> The variables used to store u32 DT properties were signed ints. This
> doesn't work properly if the value of the property were to overflow.
> Use unsigned variables so this doesn't happen.
>
> Cc: Andrew Lunn <andrew@...n.ch>
> Cc: Florian Fainelli <f.fainelli@...il.com>
> Cc: Heiner Kallweit <hkallweit1@...il.com>
> Signed-off-by: Trent Piepho <tpiepho@...inj.com>
Applied.
Powered by blists - more mailing lists