Messages in this thread | | | Date | Thu, 19 Jan 2023 14:38:32 +0100 | From | Andrew Lunn <> | Subject | Re: [PATCH] ARM: mvebu: potential dereference of null pointer |
| |
On Thu, Jan 19, 2023 at 10:51:18AM +0800, ye.xingchen@zte.com.cn wrote: > From: Minghao Chi <chi.minghao@zte.com.cn> > > The return value of kzalloc() needs to be checked. > To avoid use of null pointer in case of the failure of alloc. > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn> > Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
| |