numam-spdk/app
Daniel Verkamp 901aafe675 nvmf_tgt/rpc: check trtype and adrfam for NULL
If the NVMe library trtype and adrfam translation functions are passed
an unknown value, they may return NULL.  This shouldn't normally happen,
since any supported transport type or address family in the NVMe-oF
target should always be supported in the string lookup functions, but
add a fallback anyway to satisfy the static analyzer.

Change-Id: Icadf991d6742a2a759b5793253b71b4eabc763ed
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/383313
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2017-10-23 12:19:38 -04:00
..
iscsi_tgt app: spdk_app_fini no longer gives return code 2017-10-10 10:56:34 -04:00
iscsi_top Make iscsi app to work on freebsd 2017-08-01 13:42:02 -04:00
nvmf_tgt nvmf_tgt/rpc: check trtype and adrfam for NULL 2017-10-23 12:19:38 -04:00
trace include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
vhost vhost: added multi-process support 2017-10-16 15:29:58 -04:00
Makefile Make iscsi app to work on freebsd 2017-08-01 13:42:02 -04:00