[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200428103922.GS3559@dell>
Date: Tue, 28 Apr 2020 11:39:22 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] mfd: wcd934x: Drop kfree for memory allocated with
devm_kzalloc
On Mon, 27 Apr 2020, Wei Yongjun wrote:
> It's not necessary to free memory allocated with devm_kzalloc
> and using kfree leads to a double free.
>
> Fixes: 6ac7e4d7ad70 ("mfd: wcd934x: Add support to wcd9340/wcd9341 codec")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
> ---
> drivers/mfd/wcd934x.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists