Messages in this thread | | | Subject | Re: [PATCH] scsi: aha1740: Fix an errro handling path in 'aha1740_probe()' | From | "Martin K. Petersen" <> | Date | Thu, 26 Mar 2020 21:12:15 -0400 |
| |
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
| |