Commit 0a92b40b authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

nvme/test: stub out missing ctrlr_cmd function



nvme_ctrlr_cmd_set_async_event_config() is called from within nvme_ctrlr
but was never stubbed out in its unit test.

Change-Id: I44002540e74ee010f21d0cf2d089d1dc51217a2f
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent ed24b971
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -94,6 +94,13 @@ nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl)
{
}

void
nvme_ctrlr_cmd_set_async_event_config(struct nvme_controller *ctrlr,
				      union nvme_critical_warning_state state, nvme_cb_fn_t cb_fn,
				      void *cb_arg)
{
}

void
nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr, void *payload,
				   nvme_cb_fn_t cb_fn, void *cb_arg)