]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: make switch index unsigned
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 3 Nov 2017 23:05:20 +0000 (19:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Nov 2017 13:31:38 +0000 (22:31 +0900)
commit78b62977d2e16e47902a38593bb6712116d698bb
treed8a52562b8e15f3204c44097b7099eb2d1e169cd
parent35bdb0b445f1874078c6f4d66b5127acc54392df
net: dsa: make switch index unsigned

Define the DSA switch index as an unsigned int, because it will never be
less than 0.

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>
include/net/dsa.h