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

2017-11-03 Thread Florian Fainelli
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

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

2017-11-03 Thread Vivien Didelot
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