16 Apr
2015
16 Apr
'15
4:08 p.m.
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@axentia.se
Thanks, Peter