Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1516042

Re: [PATCH] drm/tegra: sor: No need to free devm_ allocated memory

From Thierry Reding <thierry.reding@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] drm/tegra: sor: No need to free devm_ allocated memory
Date 2016-11-07 13:10 +0100
Message-ID <sAQUp-2Vd-1@gated-at.bofh.it> (permalink)
References <sl1qN-5tF-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Sep 24, 2016 at 10:07:30PM +0200, Christophe JAILLET wrote:
> 'brick' has been allocated by 'devm_kzalloc', so there is no need here to
> free it explicitly.
> There is only one caller of 'tegra_clk_sor_brick_register()'. This function
> is a probe function which correctly checks and handles the return value of
> 'tegra_clk_sor_brick_register()'.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
>  drivers/gpu/drm/tegra/sor.c | 2 --
>  1 file changed, 2 deletions(-)

Applied, with a slightly reworded commit message.

Thanks,
Thierry

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] drm/tegra: sor: No need to free devm_ allocated memory Thierry Reding <thierry.reding@gmail.com> - 2016-11-07 13:10 +0100

csiph-web