diff options
author | Cyrill Gorcunov <[email protected]> | 2008-03-02 23:28:24 +0300 |
---|---|---|
committer | Christoph Lameter <[email protected]> | 2008-03-03 12:22:32 -0800 |
commit | 62e5c4b4d6351707346695fd9e151b6cda85cbe1 (patch) | |
tree | 66a8e4a842d4bcd2f87e28bb2faac19e75e355b3 /lib/debugobjects.c | |
parent | f619cfe1bda809a97c407f4c723eb3235ecd64e5 (diff) |
slub: fix possible NULL pointer dereference
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 <[email protected]>
Signed-off-by: Christoph Lameter <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions