@@ -2666,6 +2666,9 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
26662666 * https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
26672667 portASSERT_IF_INTERRUPT_PRIORITY_INVALID ();
26682668
2669+ /* MISRA Ref 4.7.1 [Return value shall be checked] */
2670+ /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */
2671+ /* coverity[misra_c_2012_directive_4_7_violation] */
26692672 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR ();
26702673 {
26712674 /* If null is passed in here then it is the priority of the calling
@@ -2737,6 +2740,9 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
27372740 * https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
27382741 portASSERT_IF_INTERRUPT_PRIORITY_INVALID ();
27392742
2743+ /* MISRA Ref 4.7.1 [Return value shall be checked] */
2744+ /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */
2745+ /* coverity[misra_c_2012_directive_4_7_violation] */
27402746 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR ();
27412747 {
27422748 /* If null is passed in here then it is the base priority of the calling
@@ -3433,6 +3439,9 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
34333439 * https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
34343440 portASSERT_IF_INTERRUPT_PRIORITY_INVALID ();
34353441
3442+ /* MISRA Ref 4.7.1 [Return value shall be checked] */
3443+ /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */
3444+ /* coverity[misra_c_2012_directive_4_7_violation] */
34363445 uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR ();
34373446 {
34383447 if ( prvTaskIsTaskSuspended ( pxTCB ) != pdFALSE )
@@ -4989,6 +4998,9 @@ BaseType_t xTaskIncrementTick( void )
49894998
49904999 /* Save the hook function in the TCB. A critical section is required as
49915000 * the value can be accessed from an interrupt. */
5001+ /* MISRA Ref 4.7.1 [Return value shall be checked] */
5002+ /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */
5003+ /* coverity[misra_c_2012_directive_4_7_violation] */
49925004 uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR ();
49935005 {
49945006 xReturn = pxTCB -> pxTaskTag ;
@@ -7974,6 +7986,9 @@ TickType_t uxTaskResetEventItemValue( void )
79747986
79757987 pxTCB = xTaskToNotify ;
79767988
7989+ /* MISRA Ref 4.7.1 [Return value shall be checked] */
7990+ /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */
7991+ /* coverity[misra_c_2012_directive_4_7_violation] */
79777992 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR ();
79787993 {
79797994 if ( pulPreviousNotificationValue != NULL )
@@ -8133,6 +8148,9 @@ TickType_t uxTaskResetEventItemValue( void )
81338148
81348149 pxTCB = xTaskToNotify ;
81358150
8151+ /* MISRA Ref 4.7.1 [Return value shall be checked] */
8152+ /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */
8153+ /* coverity[misra_c_2012_directive_4_7_violation] */
81368154 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR ();
81378155 {
81388156 ucOriginalNotifyState = pxTCB -> ucNotifyState [ uxIndexToNotify ];
0 commit comments