On Thu, Mar 19, 2020 at 09:24:50PM +0800, Weihang Li wrote: > From: Yixian Liu <liuyixian@xxxxxxxxxx> > > As the return value of kmalloc may be null or error code, use kernel macro > to do return value check. kmalloc always returns null, do not use IS_ERR_OR_NULL Jason