8500db5ee0
First check both vmd_pci_device for not being a NULL, same as vmd_adapter structure being present. Otherwise dev was dereferenced before checking for NULL. Change-Id: I3719f33c1762f789b0eb63b0f2ddce8258843ded Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/462509 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
vmd_spec.h | ||
vmd.c | ||
vmd.h |