aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2015-10-06 15:40:43 +0100
committerDavid S. Miller <davem@davemloft.net>2015-10-07 04:56:11 -0700
commit4d7f3e757c15051b4521a59791de87ce748c0eb2 (patch)
tree67a4fbcc4982a51fc30f692750cb98e3328dac1b /block
parentnet: dsa: switch to devm_ calls and remove kfree calls (diff)
downloadlinux-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 'block')
0 files changed, 0 insertions, 0 deletions