Whamcloud - gitweb
LU-4629 lmv: fix issue found by Klocwork Insight tool 90/9390/2
authorDmitry Eremin <dmitry.eremin@intel.com>
Tue, 25 Feb 2014 20:51:45 +0000 (00:51 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 1 Mar 2014 02:31:00 +0000 (02:31 +0000)
commit809f0371c5046f0c4f532c5e0fa8985e42f9a547
tree9ea7551c9827e091c5136e8c463da1357e496738
parentc431dc7642bea736b9c360d0b2e038cf76b26888
LU-4629 lmv: fix issue found by Klocwork Insight tool

'plock.cookie' might be used uninitialized in this function.

sscanf format specification '%d' expects type 'int *' for 'd',
but parameter 3 has a different type '__u32*'

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: Ie800e69f345e815dc7437b89707cbaabac1af5f7
Reviewed-on: http://review.whamcloud.com/9390
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lmv/lmv_intent.c
lustre/lmv/lmv_obd.c