Messages in this thread | | | Subject | Re: [PATCH] clk: microchip: check for null return of devm_kzalloc() | From | Hui Tang <> | Date | Mon, 21 Nov 2022 15:26:44 +0800 |
| |
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.
| |