mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 08:07:46 -04:00
Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
220dccd4bc
commit
2c79b69f8f
1 changed files with 2 additions and 3 deletions
5
MISRA.md
5
MISRA.md
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue