From: Kumar Amit Mehta Date: Mon, 26 Jan 2015 16:52:22 +0000 (+0100) Subject: staging: lustre: lustre: obdclass: obd_mount.c: Fix NULL dereference X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~138 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e3e981ad576eeb47ca1ca1743ff3b3d39e576a4;p=pandora-kernel.git staging: lustre: lustre: obdclass: obd_mount.c: Fix NULL dereference OBD_ALLOC_PTR(uuid) invokes kmalloc, which may return NULL. This fix adds a check before dereferencing such pointer. Signed-off-by: Kumar Amit Mehta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed