From a8d700419d5ccfffa11e10f397c4b9b5fa803602 Mon Sep 17 00:00:00 2001 From: Tomasz Zawadzki Date: Mon, 26 Apr 2021 03:53:44 -0400 Subject: [PATCH] examples/interrupt_tgt: mark reactor_set_interrupt_mode RPC private The RPC is for testing purposes, as such does not need to provide documentation in SPDK proper. Signed-off-by: Tomasz Zawadzki Change-Id: Ia153ad326e4c2ac43b511f9c2fba4aa95f1e3295 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7607 Tested-by: SPDK CI Jenkins --- examples/interrupt_tgt/interrupt_tgt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/interrupt_tgt/interrupt_tgt.c b/examples/interrupt_tgt/interrupt_tgt.c index 2733ed3e45..8b01f62963 100644 --- a/examples/interrupt_tgt/interrupt_tgt.c +++ b/examples/interrupt_tgt/interrupt_tgt.c @@ -97,7 +97,8 @@ err: spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INVALID_PARAMS, "Invalid parameters"); } -SPDK_RPC_REGISTER("reactor_set_interrupt_mode", rpc_reactor_set_interrupt_mode, SPDK_RPC_RUNTIME) +/* private */ SPDK_RPC_REGISTER("reactor_set_interrupt_mode", rpc_reactor_set_interrupt_mode, + SPDK_RPC_RUNTIME) static void interrupt_tgt_usage(void)