Spdk/lib/nvmf
yidong0635 bb2486a468 nvmf: change the return type of calloc failed
1.nvmf: change the return type of calloc failed to -ENOMEM and
keep consistency in this file.
2.thread: revise rc condition to ( rc!= 0),to deal with
all abnormal return.

Change-Id: I7cccb548f30448eaa1bac1a5904c3edcad9c1208
Signed-off-by: yidong0635 <dongx.yi@intel.com>
Reviewed-on: https://review.gerrithub.io/431459
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-11-02 17:56:40 +00:00
..
ctrlr_bdev.c ctrlr_bdev: change spdk_nvmf_bdev_ctrlr_identify_ns to return void 2018-10-15 17:29:30 +00:00
ctrlr_discovery.c nvmf: Move target opts to transport opts (part 1) 2018-08-27 20:43:53 +00:00
ctrlr.c nvmf/ctrlr: add debug log for volatile write cache 2018-10-23 08:10:12 +00:00
Makefile Make: Add deps for each shared obj individually 2018-10-09 21:45:26 +00:00
nvmf_fc.h lib/nvmf: fix a typo error 2018-10-12 17:40:16 +00:00
nvmf_internal.h nvmf: Simplify qpair states 2018-11-02 16:39:37 +00:00
nvmf.c nvmf: change the return type of calloc failed 2018-11-02 17:56:40 +00:00
rdma.c nvmf/rdma: Simplify code that casts wr_id field 2018-11-02 16:39:37 +00:00
request.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
subsystem.c nvmf: Correctly enforce subsystem listener access control 2018-10-03 16:12:31 +00:00
transport.c mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00
transport.h nvmf: Move target opts to transport opts (part 2) 2018-09-17 20:42:16 +00:00