Skip to content

Commit 2c79b69

Browse files
committed
Code review suggestions
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
1 parent 220dccd commit 2c79b69

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

MISRA.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ MISRA C:2012 Dir 4.7: If a function returns error information, then that error
2323
information shall be tested.
2424

2525
_Ref 4.7.1_
26-
- The return value of `taskENTER_CRITICAL_FROM_ISR` is the interrupt mask of the
27-
port. Error information won't be returned by this function and no need to perform
28-
a check on the return value.
26+
- `taskENTER_CRITICAL_FROM_ISR` returns the interrupt mask and not any error
27+
information. Therefore, there is no need test the return value.
2928

3029
#### Rule 8.4
3130

0 commit comments

Comments
 (0)