[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180315081647.nmchuykgsgma2kyp@dell>
Date: Thu, 15 Mar 2018 08:16:47 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] mfd: pcf50633: Fix some memory leaks in the error
handling path of 'pcf50633_probe()'
On Wed, 14 Mar 2018, Christophe JAILLET wrote:
> If a 'platform_device_alloc()' call fails, we still need to release the
> resources that have already been allocated before returning.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> drivers/mfd/pcf50633-core.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
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