Skip to content

Commit 10fb252

Browse files
authored
Merge pull request #12377 from hppritcha/ze_fix_for_compare
accel/ze: fix compile error with compare function
2 parents 50a0fc2 + 5946f8c commit 10fb252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/accelerator/ze/accelerator_ze_module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static int mca_accelerator_ze_import_ipc_handle(int dev_id, uint8_t ipc_handle[I
4646
opal_accelerator_ipc_handle_t *handle);
4747
static int mca_accelerator_ze_open_ipc_handle(int dev_id, opal_accelerator_ipc_handle_t *handle,
4848
void **dev_ptr);
49-
static int accelerator_ze_compare_ipc_handles(uint8_t handle_1[IPC_MAX_HANDLE_SIZE],
49+
static int mca_accelerator_ze_compare_ipc_handles(uint8_t handle_1[IPC_MAX_HANDLE_SIZE],
5050
uint8_t handle_2[IPC_MAX_HANDLE_SIZE]);
5151
static int mca_accelerator_ze_get_ipc_event_handle(opal_accelerator_event_t *event,
5252
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
653653
return OPAL_ERR_NOT_IMPLEMENTED;
654654
}
655655

656-
static int accelerator_ze_compare_ipc_handles(uint8_t handle_1[IPC_MAX_HANDLE_SIZE],
656+
static int mca_accelerator_ze_compare_ipc_handles(uint8_t handle_1[IPC_MAX_HANDLE_SIZE],
657657
uint8_t handle_2[IPC_MAX_HANDLE_SIZE])
658658
{
659659
return memcmp(handle_1, handle_2, IPC_MAX_HANDLE_SIZE);

0 commit comments

Comments
 (0)