From 0a92b40bb8cf0100d409a3707813779ea4d81ce1 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 24 Sep 2015 10:07:52 -0700 Subject: [PATCH] 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: Daniel Verkamp --- test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut.c b/test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut.c index 21327127a..96c82210b 100644 --- a/test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut.c +++ b/test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut.c @@ -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)