Code review suggestions

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav Aggarwal 2024-04-18 18:59:25 +00:00
parent 220dccd4bc
commit 2c79b69f8f

View file

@ -23,9 +23,8 @@ MISRA C:2012 Dir 4.7: If a function returns error information, then that error
information shall be tested. information shall be tested.
_Ref 4.7.1_ _Ref 4.7.1_
- The return value of `taskENTER_CRITICAL_FROM_ISR` is the interrupt mask of the - `taskENTER_CRITICAL_FROM_ISR` returns the interrupt mask and not any error
port. Error information won't be returned by this function and no need to perform information. Therefore, there is no need test the return value.
a check on the return value.
#### Rule 8.4 #### Rule 8.4