Spdk/lib/vhost
Seth Howell fe089ae0cb lib/vhost: add an assert that lun is not NULL
spdk_scsi_dev_get_lun will never return null when we
ask for lun 0, but some static analysis tools complain.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I09aa8e03c28f1a3448f68d6f4d9aa6e7003c4c1b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1983
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Mellanox Build Bot
2020-04-24 07:07:43 +00:00
..
Makefile vhost: add packed ring support 2020-04-15 03:55:59 +00:00
rte_vhost_compat.c memory.h: move to public headers 2020-03-19 08:50:45 +00:00
vhost_blk.c lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
vhost_internal.h vhost: inline vhost_vring_desc_is_wr() 2020-04-23 07:28:24 +00:00
vhost_nvme.c lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
vhost_rpc.c vhost: add packed ring support 2020-04-15 03:55:59 +00:00
vhost_scsi.c lib/vhost: add an assert that lun is not NULL 2020-04-24 07:07:43 +00:00
vhost.c vhost: inline vhost_vring_desc_is_wr() 2020-04-23 07:28:24 +00:00