Re: [PATCH] scsi/3w-9xxx: Avoid disabling device if failing to enable it

From: Martin K. Petersen
Date: Tue Sep 06 2022 - 22:22:59 EST



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