Whamcloud - gitweb
LU-4055 build: fix 'error handling' issues 42/7842/3
authorSebastien Buisson <sebastien.buisson@bull.net>
Thu, 3 Oct 2013 07:28:09 +0000 (09:28 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 2 Nov 2013 00:57:01 +0000 (00:57 +0000)
commit6b9be9fb417cdbfe32b74e1f17bed599fc555be8
treeb491110702c1f00c24cc7f96d12f5474b6dba04f
parent6b308bb995383e9fa1e2ef73e27c60518e6639bd
LU-4055 build: fix 'error handling' issues

Fix 'error handling' issues found by Coverity version 6.6.1:
Unchecked return value (CHECKED_RETURN)
Calling function without checking return value.
Argument cannot be negative (NEGATIVE_RETURNS)
Negative value used as argument to a function expecting a
positive value.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: I1ea3428febee741be15215fcc89266a814e5fe1b
Reviewed-on: http://review.whamcloud.com/7842
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mgc/mgc_request.c
lustre/utils/lustre_cfg.c