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>
This commit is contained in:
Gujulan Elango, Hari Prasath (H.) 2015-05-13 10:36:28 +00:00 • committed by Greg Kroah-Hartman
commit db562e8154