Fix MISRA C 2012 Rule 9.3 violations (#973)

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
bradleysmith23 2024-02-01 01:01:53 -08:00 committed by GitHub
parent edd35e8f6e
commit cd8c6c1f22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -245,7 +245,7 @@
/** /**
* @brief Kernel object pool. * @brief Kernel object pool.
*/ */
PRIVILEGED_DATA static KernelObject_t xKernelObjectPool[ configPROTECTED_KERNEL_OBJECT_POOL_SIZE ] = { NULL }; PRIVILEGED_DATA static KernelObject_t xKernelObjectPool[ configPROTECTED_KERNEL_OBJECT_POOL_SIZE ] = { 0 };
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
static int32_t MPU_GetFreeIndexInKernelObjectPool( void ) /* PRIVILEGED_FUNCTION */ static int32_t MPU_GetFreeIndexInKernelObjectPool( void ) /* PRIVILEGED_FUNCTION */