From 305976168d942c87f2ee67cad838db98f95e0579 Mon Sep 17 00:00:00 2001 From: GangCao Date: Sun, 24 Sep 2017 08:10:53 -0400 Subject: [PATCH] nvme: update the comment for spdk_nvme_probe() public API Change-Id: I2bb201345968303aae23aa4b288d03eb07dc1ed1 Signed-off-by: GangCao Reviewed-on: https://review.gerrithub.io/379768 Reviewed-by: Paul Luse Tested-by: SPDK Automated Test System Reviewed-by: Changpeng Liu Reviewed-by: Daniel Verkamp --- include/spdk/nvme.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdk/nvme.h b/include/spdk/nvme.h index f655771fd..6fb8ec8ff 100644 --- a/include/spdk/nvme.h +++ b/include/spdk/nvme.h @@ -340,7 +340,7 @@ typedef void (*spdk_nvme_remove_cb)(void *cb_ctx, struct spdk_nvme_ctrlr *ctrlr) * will be reported. * * To stop using the the controller and release its associated resources, - * call \ref spdk_nvme_detach with the spdk_nvme_ctrlr instance returned by this function. + * call \ref spdk_nvme_detach with the spdk_nvme_ctrlr instance from the attach_cb() function. */ int spdk_nvme_probe(const struct spdk_nvme_transport_id *trid, void *cb_ctx,