diff options
author | Volodymyr Bendiuga <volodymyr.bendiuga@gmail.com> | 2017-01-05 13:10:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-05 19:39:53 +0300 |
commit | 5e6eb456983c994a8e582127a300b6552e5a1768 (patch) | |
tree | 1f6035af46acee5fd57c272f5d56b199ac497c64 /firmware | |
parent | 56b46b4378f08fe519398df4da14ea2e7c9ae52c (diff) | |
download | linux-5e6eb456983c994a8e582127a300b6552e5a1768.tar.xz |
net:dsa: check for EPROBE_DEFER from dsa_dst_parse()
Since there can be multiple dsa switches stacked together but
not all of devicetree nodes available at the time of calling
dsa_dst_parse(), EPROBE_DEFER can be returned by it. When this
happens, only the last dsa switch has to be deleted by
dsa_dst_del_ds(), but not the whole list, because next time linux
cames back to this function it will try to add only the last dsa
switch which returned EPROBE_DEFER.
Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions