Spdk/test/unit/lib/nvme
Daniel Verkamp 34f66f237c ut/nvme: add fatal asserts before dereferencing pointers
Make sure that req returned from the request allocation functions isn't
NULL before starting to check its fields.

Change-Id: I21869834148200f4bfd5065ebbc874041c559599
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/375618
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-08-28 13:53:54 -04:00
..
nvme_ctrlr_cmd.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme_ctrlr.c nvme: Obtain number of queues controller allocated via "Get Features/Number of Queues" 2017-08-23 12:14:43 -04:00
nvme_ns_cmd.c nvme: decouple NVMe memory page size from PAGE_SIZE 2017-08-17 12:52:12 -04:00
nvme_ns.c nvme: add support for NS Optimal IO Boundary 2017-08-16 15:55:29 -04:00
nvme_pcie.c nvme: decouple NVMe memory page size from PAGE_SIZE 2017-08-17 12:52:12 -04:00
nvme_qpair.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme_quirks.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme.c ut/nvme: add fatal asserts before dereferencing pointers 2017-08-28 13:53:54 -04:00
Makefile test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00