Whamcloud - gitweb
LU-9077 lnet: fix for static analysis issues 92/25792/29
authorsharmaso <sonia.sharma@intel.com>
Wed, 8 Feb 2017 22:42:01 +0000 (14:42 -0800)
committerAmir Shehata <amir.shehata@intel.com>
Tue, 22 Aug 2017 16:27:46 +0000 (16:27 +0000)
commit7c99c092664baa1c325ff3e13c43bdb6945d963d
treea2d40a1f27c670b2315863bd86a7c8cdaf2820d9
parent7a36afd9df713954426472214f9f986b60d1665b
LU-9077 lnet: fix for static analysis issues

fixes the 11 static analysis issues found in
v2_9_52_0-66-gec839d4.

1. lustre_lnet_show_numa_range - fixed
2. lnet_select_pathway - fixed
3. lustre_lnet_show_discovery - fixed
4. lnet_discover_peer_locked - false positive
5. lustre_lnet_ping_nid - fixed
6. lustre_lnet_ping_nid - false positive
7. lustre_lnet_show_discovery - duplicate of 3
8. lustre_lnet_show_max_intf - fixed
9. lustre_lnet_show_max_intf - duplicate of 8
10. lnet_peer_set_primary_data - false positive
11. lustre_lnet_show_numa_range - fixed

Test-Parameters: trivial
Signed-off-by: Sonia Sharma <sonia.sharma@intel.com>
Signed-off-by: Olaf Weber <olaf@sgi.com>
Change-Id: I4cb03e4f64cd0c743ee3646f4628d34533b2d4ba
Reviewed-on: https://review.whamcloud.com/25792
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Tested-by: Amir Shehata <amir.shehata@intel.com>
lnet/lnet/lib-move.c
lnet/utils/lnetconfig/liblnetconfig.c