staging: lustre: check kzalloc return value
authorGujulan Elango, Hari Prasath (H.) <hgujulan@visteon.com>
Wed, 13 May 2015 10:36:28 +0000 (10:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 00:19:37 +0000 (09:19 +0900)
commitdb562e8154035b2dec9fc8e506450bc52a9adbe1
tree44a698f0b59b349333bb76a614f12f99e8ea8929
parent58973deb5b831eafa3eb04efe8ed85dbfe52aa18
staging: lustre: check kzalloc return value

check the return value of kzalloc before accessing the memory pointer

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c