[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bed4bf81998f5dc3a0382b1d9f1497fa.sboyd@kernel.org>
Date: Tue, 20 Jun 2023 11:55:41 -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 7/8] clk: ti: clkctrl: check return value of kasprintf()
Quoting Claudiu Beznea (2023-05-30 02:39:12)
> 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: 852049594b9a ("clk: ti: clkctrl: convert subclocks to use proper names also")
> Fixes: 6c3090520554 ("clk: ti: clkctrl: Fix hidden dependency to node name")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists