]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: fix framework.c issues found by Klocwork Insight tool
authorDmitry Eremin <dmitry.eremin@intel.com>
Wed, 2 Mar 2016 22:01:58 +0000 (17:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 23:23:49 +0000 (15:23 -0800)
commit658b262200124ed086caa3eca7ead99c3a59e3cb
tree1449aac7a45b112d40e82dd61fa56b2212bb7590
parent010854935d9a33f633f142f591441eb10cc912a0
staging: lustre: fix framework.c issues found by Klocwork Insight tool

The functions sfw_test_buffers() and sfw_unload_test() from LNet
selftest both assume sfw_test_instance_t being passed in is never
null. This is corrected here.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4629
Reviewed-on: http://review.whamcloud.com/9386
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Isaac Huang <he.huang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/framework.c