[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170317140152.wj47b2bw2z3sk6nv@latitude>
Date: Fri, 17 Mar 2017 15:01:52 +0100
From: Jonathan Neuschäfer <j.neuschaefer@....net>
To: Jonathan Neuschäfer <j.neuschaefer@....net>
Cc: linux-arm-msm@...r.kernel.org,
Bjorn Andersson <bjorn.andersson@...aro.org>,
linux-soc@...r.kernel.org, Andy Gross <andy.gross@...aro.org>,
David Brown <david.brown@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] soc: qcom: smsm: Handle probe deferral
On Wed, Mar 15, 2017 at 12:43:56PM +0100, Jonathan Neuschäfer wrote:
[...]
> - TODO: Reading qcom_smsm_probe, I noticed memory leaks in error paths:
> smsm, smsm->entries, etc. are allocated (with devm_kzalloc), but not
> freed when the function returns early. This should be addressed at
> some point (in a separate patch).
This is not actually true (see Documentation/driver-model/devres.txt).
Sorry for the noise.
Jonathan Neuschäfer
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists