summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lnet/selftest/framework.c
diff options
context:
space:
mode:
authorSebastien Buisson <sbuisson@ddn.com>2016-03-07 23:10:19 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-08 00:17:45 (GMT)
commita739735c55a961d342652b38b27d3ef1c2d1ca1c (patch)
tree94f4ad9b2a79b477a7731fa945fb8b6d3c5e5d7d /drivers/staging/lustre/lnet/selftest/framework.c
parentc206f8bc543858ed2d82b1547c1a986dbd3df022 (diff)
downloadlinux-a739735c55a961d342652b38b27d3ef1c2d1ca1c.tar.xz
staging: lustre: fix 'NULL pointer dereference' errors
Fix 'NULL pointer dereference' defects found by Coverity version 6.5.3: Dereference after null check (FORWARD_NULL) For instance, Passing null pointer to a function which dereferences it. Dereference before null check (REVERSE_INULL) Null-checking variable suggests that it may be null, but it has already been dereferenced on all paths leading to the check. Dereference null return value (NULL_RETURNS) The following fixes for the LNet layer are broken out of patch http://review.whamcloud.com/4720. Signed-off-by: Sebastien Buisson <sbuisson@ddn.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2217 Reviewed-on: http://review.whamcloud.com/4720 Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/framework.c')
0 files changed, 0 insertions, 0 deletions