Home
last modified time | relevance | path

Searched hist:"49463 b7f2da1a115404b02c5533bc2c2125833a3" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Ddsa.hdiff 49463b7f2da1a115404b02c5533bc2c2125833a3 Fri Nov 03 18:05:21 CDT 2017 Vivien Didelot <vivien.didelot@savoirfairelinux.com> 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>
/openbmc/linux/net/dsa/
H A Dslave.cdiff 49463b7f2da1a115404b02c5533bc2c2125833a3 Fri Nov 03 18:05:21 CDT 2017 Vivien Didelot <vivien.didelot@savoirfairelinux.com> 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>