+4
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This patch fix possible NULL pointer dereference if kzalloc failed. To be able to return proper error code the function return type is changed to ssize_t (according to callees and sysfs definitions). Signed-off-by:Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by:
Christoph Lameter <clameter@sgi.com>