forked from ofiwg/libfabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fabtests: Fix missing return value checks by adding FT_CLOSE_FID
Coverity flagged missing error handling for fi_close. This patch takes care of error handling by calling FT_CLOSE_FID instead of fi_close which handles return value check. For component/sock_test.c: Send function returns the number of bytes sent and here since we are sending only one byte, we will return -errno if return code is less that 0. Signed-off-by: Juee Himalbhai Desai <juee.himalbhai.desai@intel.com>
- Loading branch information
1 parent
7613257
commit 23e4707
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters