From 5946f8c7a902aa7c8a723d8a98ce2a171cc3c6ef Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Mon, 26 Feb 2024 17:11:58 +0000 Subject: [PATCH] accel/ze: fix compile error with compare function fix code bug introduced in 4002fbc9796c3e6c4a90ae6e85fa7b391ecb1d09 Signed-off-by: Howard Pritchard --- opal/mca/accelerator/ze/accelerator_ze_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opal/mca/accelerator/ze/accelerator_ze_module.c b/opal/mca/accelerator/ze/accelerator_ze_module.c index 38b49cf4290..b4d019f67c4 100644 --- a/opal/mca/accelerator/ze/accelerator_ze_module.c +++ b/opal/mca/accelerator/ze/accelerator_ze_module.c @@ -46,7 +46,7 @@ static int mca_accelerator_ze_import_ipc_handle(int dev_id, uint8_t ipc_handle[I opal_accelerator_ipc_handle_t *handle); static int mca_accelerator_ze_open_ipc_handle(int dev_id, opal_accelerator_ipc_handle_t *handle, void **dev_ptr); -static int accelerator_ze_compare_ipc_handles(uint8_t handle_1[IPC_MAX_HANDLE_SIZE], +static int mca_accelerator_ze_compare_ipc_handles(uint8_t handle_1[IPC_MAX_HANDLE_SIZE], uint8_t handle_2[IPC_MAX_HANDLE_SIZE]); static int mca_accelerator_ze_get_ipc_event_handle(opal_accelerator_event_t *event, opal_accelerator_ipc_event_handle_t *handle); @@ -653,7 +653,7 @@ static int mca_accelerator_ze_open_ipc_handle(int dev_id, opal_accelerator_ipc_h return OPAL_ERR_NOT_IMPLEMENTED; } -static int accelerator_ze_compare_ipc_handles(uint8_t handle_1[IPC_MAX_HANDLE_SIZE], +static int mca_accelerator_ze_compare_ipc_handles(uint8_t handle_1[IPC_MAX_HANDLE_SIZE], uint8_t handle_2[IPC_MAX_HANDLE_SIZE]) { return memcmp(handle_1, handle_2, IPC_MAX_HANDLE_SIZE);