[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <27776482982dc2ad2017411dce645fcc.sboyd@kernel.org>
Date: Tue, 20 Jun 2023 11:54:44 -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 4/8] clk: si5341: check return value of {devm_}kasprintf()
Quoting Claudiu Beznea (2023-05-30 02:39:09)
> {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: 3044a860fd09 ("clk: Add Si5341/Si5340 driver")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists