staging: lustre: fix 'error handling' issues for libcfs workitem.c
authorSebastien Buisson <sebastien.buisson@bull.net>
Wed, 4 Nov 2015 18:40:06 +0000 (13:40 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit5bfd446e7bd94ee6f9c17d07b5d47342b96b387a
treed7356c492c354211f8c491c77b926eb4ba20ac05
parent9d3e85326f4c3c65a7e97c5406611a17142bd70f
staging: lustre: fix 'error handling' issues for libcfs workitem.c

Fix 'error handling' issues found by Coverity version 6.5.1:
Unchecked return value (CHECKED_RETURN)
Calling function without checking return value.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3427
Reviewed-on: http://review.whamcloud.com/7103
Reviewed-by: Bobbie Lind <bobbie.j.lind@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/workitem.c