vhost_rpc: Fix function typo error.
Compiling reports this issue. Analyzer checks this with ASAN. Change-Id: Ia01a700b6b3b77dc9e0657fc3d8b28089997a626 Signed-off-by: yidong0635 <dongx.yi@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470807 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
729fa9743f
commit
b0400403af
@ -635,7 +635,7 @@ spdk_rpc_vhost_nvme_controller_add_ns(struct spdk_jsonrpc_request *request,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
invalid:
|
invalid:
|
||||||
free_rpc_vhost_nvme_ctrlradd__ns(&req);
|
free_rpc_vhost_nvme_ctrlr_add_ns(&req);
|
||||||
spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INVALID_PARAMS,
|
spdk_jsonrpc_send_error_response(request, SPDK_JSONRPC_ERROR_INVALID_PARAMS,
|
||||||
spdk_strerror(-rc));
|
spdk_strerror(-rc));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user