[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1v91r6pei.fsf@ca-mkp.ca.oracle.com>
Date: Wed, 20 Oct 2021 23:14:00 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Cc: alim.akhtar@...sung.com, avri.altman@....com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, draviv@...eaurora.org,
sthumma@...eaurora.org, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, bjorn.andersson@...aro.org
Subject: Re: [PATCH] scsi: ufs: ufshcd-pltfrm: fix memory leak due to probe
defer
Srinivas,
>> UFS drivers that probe defer will endup leaking memory allocated for
>> clk and regulator names via kstrdup because the structure that is
>> holding this memory is allocated via devm_* variants which will be
>> freed during probe defer but the names are never freed.
Applied to 5.16/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists