Spdk/lib/event
Darek Stojaczyk ec79b4c8e4 app: fixup error handling in wait_subsystem_init RPC
We could call spdk_jsonrpc_end_result with a NULL
result parameter, which will hit an assert.

While here, also remove the "no memory" error message
if the result object can't be obtained. Getting no result
is not necessarily caused by memory allocation failure
and everywhere throughout the SPDK we don't print any
message if that happens.

Change-Id: I4618b211192aa1c1d47fd850d17497d3ff9888ea
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/435112
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2018-12-10 15:55:32 +00:00
..
rpc rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
subsystems nvmf: fail nvmf_create_transport if user specifies pcie 2018-12-06 18:15:05 +00:00
app.c app: fixup error handling in wait_subsystem_init RPC 2018-12-10 15:55:32 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
reactor.c reactor: handle failure when getting reactor in spdk_reactor_get_tsc_stats() 2018-11-20 15:04:38 +00:00
rpc.c thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
subsystem.c event: allow subsystem to write configuration in async way 2018-03-27 02:57:28 -04:00