staging: lustre: libcfs: test if data is NULL
authorLiang Zhen <liang.zhen@intel.com>
Tue, 22 Mar 2016 23:03:54 +0000 (19:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit4e31dad14dfec5746bdaa593db0cf0d8a6736b1c
treef8b6544114cac450bef0b2d49c62bbeb776ea6fd
parent0d674c10b04f2698c07953476393ead13980fa7f
staging: lustre: libcfs: test if data is NULL

Make sure data is not NULL otherwise we get an oops
when using the IOC_LIBCFS_MARK_DEBUG ioctl.

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5435
Reviewed-on: http://review.whamcloud.com/11313
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/libcfs/module.c
This page took 0.040851 seconds and 5 git commands to generate.