Spdk/lib/vhost
Krzysztof Karas 3edc534216 vhost_blk: make sure to_blk_dev() return value is not NULL
Assert that return pointer of to_blk_dev() is not NULL,
before dereferencing it.

Change-Id: I15adeac0926f23f84fdb3af88fc15ac07c580d91
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17536
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2023-04-27 09:30:42 +00:00
..
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
rte_vhost_user.c lib/vhost: register VQ interrupt handler when enable VQ 2023-04-13 21:39:33 +00:00
spdk_vhost.map event/vhost: separate vhost subsystem to scsi and blk 2022-05-20 09:20:07 +00:00
vhost_blk.c vhost_blk: make sure to_blk_dev() return value is not NULL 2023-04-27 09:30:42 +00:00
vhost_internal.h lib/vhost: register VQ interrupt handler when enable VQ 2023-04-13 21:39:33 +00:00
vhost_rpc.c vhost_rpc:add sessions information for vhost_get_controllers 2023-03-13 07:59:08 +00:00
vhost_scsi.c lib/vhost: rename device stop function calls 2023-01-06 16:14:35 +00:00
vhost.c virtio_blk: add dump opts 2023-01-20 18:57:38 +00:00