Re: [PATCH net-next 02/11] net: dsa: make tree index unsigned

From: Florian Fainelli
Date: Fri Nov 03 2017 - 19:16:19 EST


On 11/03/2017 04:05 PM, Vivien Didelot wrote:
> Similarly to a DSA switch and port, rename the tree index from "tree" to
> "index" and make it an unsigned int because it isn't supposed to be less
> than 0.
>
> u32 is an OF specific data used to retrieve the value and has no need to
> be propagated up to the tree index.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian