Spdk/test/lib/nvme/unit
Daniel Verkamp 766afaaacc nvme/test: avoid clang warnings in nvme_ns_cmd_ut
Initialize the full nvme_namespace structure in prepare_for_test() so
that e.g. ns->id is not used uninitialized.

Also check for request allocation failure - if the request is NULL, we
can't run the rest of the tests that dereference request without
crashing.

Change-Id: I3010ca3e81f153a4d0201498a14a963c2b9e960d
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2015-09-25 14:03:48 -07:00
..
nvme_c nvme: remove dump_command and dump_completion 2015-09-22 15:48:12 -07:00
nvme_ctrlr_c nvme/test: stub out missing ctrlr_cmd function 2015-09-24 10:48:46 -07:00
nvme_ctrlr_cmd_c nvme: clean up nvme_ctrlr_cmd_ut 2015-09-22 11:10:14 -07:00
nvme_ns_cmd_c nvme/test: avoid clang warnings in nvme_ns_cmd_ut 2015-09-25 14:03:48 -07:00
nvme_qpair_c nvme/test: simplify struct zero initializations 2015-09-24 10:48:46 -07:00
Makefile SPDK: Initial check-in 2015-09-21 08:52:41 -07:00
nvme_impl.h nvme: use rte_memcpy() to submit commands 2015-09-25 09:33:42 -07:00