commit | 49463b7f2da1a115404b02c5533bc2c2125833a3 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Fri Nov 03 19:05:21 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 05 22:31:38 2017 +0900 |
tree | 18bf73d0a6e86bac85a3e655b9630e386d50a796 | |
parent | 99feaafcdb566e8f032e7acc2a303713ad6bf196 [diff] |
net: dsa: make tree index unsigned 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@savoirfairelinux.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>