[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b6a5be4011fc9337699717dff6ca3be7.sboyd@kernel.org>
Date: Tue, 20 Jun 2023 11:55:55 -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 8/8] clk: clocking-wizard: check return value of devm_kasprintf()
Quoting Claudiu Beznea (2023-05-30 02:39:13)
> devm_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: 2046338dcbc6 ("ARM: mxs: Use soc bus infrastructure")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists