+4
−2
Loading
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>