[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <27b86576fa46cb17a904e6ccc66117be.sboyd@kernel.org>
Date: Tue, 20 Jun 2023 11:55:24 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Claudiu Beznea <claudiu.beznea@...rochip.com>, kristo@...nel.org,
luca.ceresoli@...tlin.com, michal.simek@...inx.com,
mturquette@...libre.com, nm@...com, ssantosh@...nel.org
Cc: aford173@...il.com, mike.looijmans@...ic.nl,
robert.hancock@...ian.com, shawn.guo@...aro.org,
fabio.estevam@...escale.com, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-omap@...r.kernel.org,
Claudiu Beznea <claudiu.beznea@...rochip.com>
Subject: Re: [PATCH 6/8] clk: keystone: sci-clk: check return value of kasprintf()
Quoting Claudiu Beznea (2023-05-30 02:39:11)
> kasprintf() returns a pointer to dynamically allocated memory.
> Pointer could be NULL in case allocation fails. Check pointer validity.
> Identified with coccinelle (kmerr.cocci script).
>
> Fixes: b745c0794e2f ("clk: keystone: Add sci-clk driver support")
> Depends-on: 96488c09b0f4 ("clk: keystone: sci-clk: cut down the clock name length")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists