summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lnet/selftest/framework.c
diff options
context:
space:
mode:
authorDmitry Eremin <dmitry.eremin@intel.com>2016-03-02 22:01:57 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-02 23:23:49 (GMT)
commit95193044c9cc3c69755b0582707bf32ddc05d4f3 (patch)
tree706256f73c8820dae9968e5fbd79e441416faf1b /drivers/staging/lustre/lnet/selftest/framework.c
parent72159bb6a0471281d6bac3bef0168953952ab254 (diff)
downloadlinux-95193044c9cc3c69755b0582707bf32ddc05d4f3.tar.xz
staging: lustre: fix conctl.c issues found by Klocwork Insight tool
The function lst_test_add_ioctl is always copying lstio_tes_param from userland even if the user doesn't send this data to LNet selftest. Only consider lstio_tes_param data if lstio_tes_param_len is not zero. 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>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/framework.c')
0 files changed, 0 insertions, 0 deletions