summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorIgor Russkikh <irusskikh@marvell.com>2020-08-23 14:19:34 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-24 18:01:33 -0700
commitadc100d0988841c56dc5caebc3abec3871985b3a (patch)
treeda9fe17aef47514c3715b1bfe55b54a9b22bf52a /lib/string_helpers.c
parentc5c642c55e2fd43fcf42262fd1e87271d413fb42 (diff)
qede: make driver reliable on unload after failures
In case recovery was not successful, netdev still should be present. But we should clear cdev if something bad happens on recovery. We also check cdev for null on dev close. That could be a case if recovery was not successful. Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: Alexander Lobakin <alobakin@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions