From e18dcff6e261e46f8206b5addab7ba14263fed3e Mon Sep 17 00:00:00 2001 From: Aditya Rathi Date: Thu, 15 May 2025 23:49:28 +0530 Subject: [PATCH] posal: linux: Fix misplaced closing parenthesis in VFIO conditional block Corrected the placement of the #endif directive to properly close the conditional block when POSAL_MMAP_VFIO is defined. This resolves a syntax issue caused by an extra closing parenthesis outside the intended scope, ensuring correct compilation when POSAL_MMAP_VFIO is defined. Signed-off-by: Aditya Rathi --- fwk/platform/posal/src/linux/posal_memorymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fwk/platform/posal/src/linux/posal_memorymap.c b/fwk/platform/posal/src/linux/posal_memorymap.c index ec661de..417942c 100644 --- a/fwk/platform/posal/src/linux/posal_memorymap.c +++ b/fwk/platform/posal/src/linux/posal_memorymap.c @@ -585,8 +585,8 @@ ar_result_t posal_memorymap_shm_mem_map(uint32_t client_tok posal_memory_free(new_shm_map_hashnode_ptr); return AR_ENOMEMORY; } -#endif /* POSAL_MMAP_VFIO */ } +#endif /* POSAL_MMAP_VFIO */ spf_hashtable_insert(&g_posal_memorymap_internal_ptr->shmmap_ht, &new_shm_map_hashnode_ptr->hash_node);