Re: [PATCH] clk: microchip: check for null return of devm_kzalloc()

From: Hui Tang
Date: Mon Nov 21 2022 - 02:26:51 EST




On 2022/11/19 18:43, Conor Dooley wrote:
On Sat, Nov 19, 2022 at 01:48:58PM +0800, Hui Tang wrote:
Because of the possilble failure of devm_kzalloc(), name might be NULL and
will cause null pointer derefrence later.

In theory, yeah?

(note to self, s/refrence/reference/, s/possilble/possible)

Sorry, I make spelling mistakes.

Thanks.