aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/Space.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-01-21 09:58:51 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-21 15:40:12 -0500
commitf9bf5a2ca6cc331f32e3dd9cf16ced7215d0e6e8 (patch)
tree774573c6a730967410a51e954577424be0977fe6 /drivers/net/Space.c
parentdsa: use an unique and non conflicting bus name for the slave MII bus (diff)
downloadwireguard-linux-f9bf5a2ca6cc331f32e3dd9cf16ced7215d0e6e8.tar.xz
wireguard-linux-f9bf5a2ca6cc331f32e3dd9cf16ced7215d0e6e8.zip
dsa: make dsa_switch_setup check for valid port names
This patch changes dsa_switch_setup() to ensure that at least one valid valid port name is specified and will bail out with an error in case we walked the maximum number of port with a valid port name found. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Space.c')
0 files changed, 0 insertions, 0 deletions