[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1k136fvo0.fsf@oracle.com>
Date: Thu, 26 Mar 2020 21:12:15 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] scsi: aha1740: Fix an errro handling path in 'aha1740_probe()'
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
Powered by blists - more mailing lists