diff options
author | 2023-12-11 10:58:00 -0800 | |
---|---|---|
committer | 2023-12-13 12:35:55 +0000 | |
commit | 13943d6c82730a2a4e40e05d6deaca26a8de0a4d (patch) | |
tree | c6240394c3f78e92d151cdcc45fe80f8f04423e9 /rust/kernel/net.rs | |
parent | ionic: bypass firmware cmds when stuck in reset (diff) | |
download | linux-rng-13943d6c82730a2a4e40e05d6deaca26a8de0a4d.tar.xz linux-rng-13943d6c82730a2a4e40e05d6deaca26a8de0a4d.zip |
ionic: prevent pci disable of already disabled device
If a reset fails, the PCI device is left in a disabled
state, so don't try to disable it again on driver remove.
This prevents a scary looking WARN trace in the kernel log.
ionic 0000:2b:00.0: disabling already-disabled device
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'rust/kernel/net.rs')
0 files changed, 0 insertions, 0 deletions