Re: [PATCH] scsi: 3ware: fix return 0 on the error path of probe
From: Martin K. Petersen
Date: Mon Jul 30 2018 - 22:08:48 EST
Anton,
> tw_probe() returns 0 in case of fail of tw_initialize_device_extension(),
> pci_resource_start() or tw_reset_sequence() and releases resources.
> twl_probe() returns 0 in case of fail of twl_initialize_device_extension(),
> pci_iomap() and twl_reset_sequence().
> twa_probe() returns 0 in case of fail of tw_initialize_device_extension(),
> ioremap() and twa_reset_sequence().
Applied to 4.19/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering