On Sat, Sep 18, 2021 at 03:51:41AM +0000, cgel.zte@xxxxxxxxx wrote: > From: Changcheng Deng <deng.changcheng@xxxxxxxxxx> > > This place can use kzalloc() directly instead of calling kmalloc() then > memset(). Replace them. > At the same time,error code that is "ret = -ENOMEM;" should be added > here. > > Reported-by: Zeal Robot <zealci@xxxxxxxxxx> > Signed-off-by: Changcheng Deng <deng.changcheng@xxxxxxxxxx> > --- Thanks! Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> regards, dan carpenter