From 61f8ff6a9b477fde2ee936a425e2ff132f45b8c1 Mon Sep 17 00:00:00 2001 From: dmitrygx Date: Mon, 18 Oct 2021 15:31:51 +0300 Subject: [PATCH] UCP/CORE: Use request from argument in macro --- src/ucp/core/ucp_request.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ucp/core/ucp_request.inl b/src/ucp/core/ucp_request.inl index d10b673a683..06c90d5c855 100644 --- a/src/ucp/core/ucp_request.inl +++ b/src/ucp/core/ucp_request.inl @@ -132,7 +132,7 @@ UCS_PTR_MAP_IMPL(request, 0); #define ucp_request_cb_param(_param, _req, _cb, ...) \ if ((_param)->op_attr_mask & UCP_OP_ATTR_FIELD_CALLBACK) { \ - (_param)->cb._cb(req + 1, (_req)->status, ##__VA_ARGS__, \ + (_param)->cb._cb((_req) + 1, (_req)->status, ##__VA_ARGS__, \ (_param)->user_data); \ }