Messages in this thread | | | Subject | Re: [PATCH] scsi/3w-9xxx: Avoid disabling device if failing to enable it | From | "Martin K. Petersen" <> | Date | Tue, 06 Sep 2022 22:22:49 -0400 |
| |
Letu,
> The original code will goto out_disable_device and > `pci_disable_device` if `pci_enable_device` fails. Kernel will > generate a warning message "3w-9xxx 0000:00:05.0: disabling > already-disabled device". We shouldn't disable a failed to enable > device. A simple return is fine.
Applied to 6.1/scsi-staging, thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |