Suppress MISRA 4.7 for SMP taskENTER_CRITICAL_FROM_ISR

Suppresses directive 4.7 in the SMP port template
as this function does not return error data.
This commit is contained in:
Kody Stribrny 2026-03-04 13:40:14 -08:00
parent f1043c49d5
commit a8eb1a6f7d

View file

@ -65,6 +65,9 @@ static void prvTickISR( void )
/* Tasks or ISRs running on other cores may still in critical section in /* Tasks or ISRs running on other cores may still in critical section in
* multiple cores environment. Incrementing tick needs to performed in * multiple cores environment. Incrementing tick needs to performed in
* critical section. */ * critical section. */
/* MISRA Ref 4.7.1 [Return value shall be checked] */
/* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */
/* coverity[misra_c_2012_directive_4_7_violation] */
ulPreviousMask = taskENTER_CRITICAL_FROM_ISR(); ulPreviousMask = taskENTER_CRITICAL_FROM_ISR();
/* Maintain the tick count. */ /* Maintain the tick count. */