docs/misra: add rule 11.9

Following up from the MISRA C group discussion, add Rule 11.9 to
docs/misra/rules.rst.

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Bertrand Marquis <bertrand.marquis@arm.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Stefano Stabellini committed 2023-09-29 11:00:47 -07:00
1 parent b1c84ab41a
commit 0b5bca91aa
1 file changed
+5
+5
View File
@@ -374,6 +374,11 @@ maintainers if you want to suggest a change.
- A cast shall not remove any const or volatile qualification from the type pointed to by a pointer
-
* - `Rule 11.9 <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_11_09.c>`_
- Required
- The macro NULL shall be the only permitted form of null pointer constant
-
* - `Rule 12.5 <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_12_05.c>`_
- Mandatory
- The sizeof operator shall not have an operand which is a function
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.