diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2015-10-06 15:40:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-07 04:56:11 -0700 |
commit | 4d7f3e757c15051b4521a59791de87ce748c0eb2 (patch) | |
tree | 67a4fbcc4982a51fc30f692750cb98e3328dac1b /tools | |
parent | net: dsa: switch to devm_ calls and remove kfree calls (diff) | |
download | linux-dev-4d7f3e757c15051b4521a59791de87ce748c0eb2.tar.xz linux-dev-4d7f3e757c15051b4521a59791de87ce748c0eb2.zip |
net: dsa: exit probe if no switch were found
If no switch were found in dsa_setup_dst, return -ENODEV and
exit the dsa_probe cleanly.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions