summaryrefslogtreecommitdiffstats
path: root/arch/x86/lguest
diff options
context:
space:
mode:
authorCyrill Gorcunov2008-03-02 21:28:24 +0100
committerChristoph Lameter2008-03-03 21:22:32 +0100
commit62e5c4b4d6351707346695fd9e151b6cda85cbe1 (patch)
tree66a8e4a842d4bcd2f87e28bb2faac19e75e355b3 /arch/x86/lguest
parentslub: Add kmalloc_large_node() to support kmalloc_node fallback (diff)
downloadkernel-qcow2-linux-62e5c4b4d6351707346695fd9e151b6cda85cbe1.tar.gz
kernel-qcow2-linux-62e5c4b4d6351707346695fd9e151b6cda85cbe1.tar.xz
kernel-qcow2-linux-62e5c4b4d6351707346695fd9e151b6cda85cbe1.zip
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 <gorcunov@gmail.com> Signed-off-by: Christoph Lameter <clameter@sgi.com>
Diffstat (limited to 'arch/x86/lguest')
0 files changed, 0 insertions, 0 deletions