Spdk/lib/vmd
GangCao 0b9ba6a330 lib/vmd: return -1 if NVMe driver is not found
Fix issue: potential NULL pointer dereference

Change-Id: I23f90616661fdebaacb041bc9f47284231601136
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14329
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Community-CI: Mellanox Build Bot
2022-09-05 12:50:06 +00:00
..
led.c vmd: rename internal header file to vmd_internal.h 2022-07-21 07:03:26 +00:00
Makefile vmd: method for removing devices behind VMD 2022-09-01 08:48:32 +00:00
spdk_vmd.map vmd: method for forcing a rescan 2022-09-01 08:48:32 +00:00
vmd_internal.h vmd: don't create new buses in hotplug 2022-09-01 08:48:32 +00:00
vmd_spec.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
vmd.c lib/vmd: return -1 if NVMe driver is not found 2022-09-05 12:50:06 +00:00