Wei Yongjun wrote: > In case of error, the function devm_kzalloc() returns NULL not ERR_PTR(). > The IS_ERR() test in the return value check should be replaced with NULL > test. Acked-by: Peter Rosin <peda at axentia.se> Thanks, Peter