aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorIgor Russkikh <[email protected]>2020-08-23 14:19:34 +0300
committerDavid S. Miller <[email protected]>2020-08-24 18:01:33 -0700
commitadc100d0988841c56dc5caebc3abec3871985b3a (patch)
treeda9fe17aef47514c3715b1bfe55b54a9b22bf52a /drivers/fpga/fpga-bridge.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 <[email protected]> Signed-off-by: Alexander Lobakin <[email protected]> Signed-off-by: Michal Kalderon <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions