Re: [PATCH] scsi: aha1740: Fix an errro handling path in 'aha1740_probe()'

From: Martin K. Petersen
Date: Thu Mar 26 2020 - 21:14:27 EST



Christophe,

> If 'dma_map_single()' fails, the ref counted 'shpnt' will be decremented
> twice because 'scsi_host_put()' is called in the if block, and in the
> error handling path.

Applied to 5.7/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering