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


Groups > linux.kernel > #1516042 > unrolled thread

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

Started byThierry Reding <thierry.reding@gmail.com>
First post2016-11-07 13:10 +0100
Last post2016-11-07 13:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromThierry Reding <thierry.reding@gmail.com>
Date2016-11-07 13:10 +0100
SubjectRe: [PATCH] drm/tegra: sor: No need to free devm_ allocated memory
Message-ID<sAQUp-2Vd-1@gated-at.bofh.it>

[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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web