diff options
author | Mateusz Pacuszka <[email protected]> | 2023-10-11 16:33:34 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-13 17:57:05 -0700 |
commit | 42066c4d5d344cdf8564556cdbe0aa36854fefa4 (patch) | |
tree | 2bd277d5ea6ea83996b5df524fcac372feff0e2a /net/lapb/lapb_timer.c | |
parent | 0288c3e709e5fabd51e84715c5c798a02f43061a (diff) |
ice: Fix safe mode when DDP is missing
One thing is broken in the safe mode, that is
ice_deinit_features() is being executed even
that ice_init_features() was not causing stack
trace during pci_unregister_driver().
Add check on the top of the function.
Fixes: 5b246e533d01 ("ice: split probe into smaller functions")
Signed-off-by: Mateusz Pacuszka <[email protected]>
Signed-off-by: Jan Sokolowski <[email protected]>
Reviewed-by: Przemek Kitszel <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions