docs/misra: accept 11.7 and 11.8

As per the last MISRA C group discussion, let's accept 11.7 (for which
we have no violations) and 11.8.

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Stefano Stabellini committed 2023-09-14 18:45:38 -07:00
1 parent 6aa25c3218
commit b5a601093d
1 file changed
+10
+10
View File
@@ -363,6 +363,16 @@ maintainers if you want to suggest a change.
CFLAGS="-Warith-conversion -Wno-error=arith-conversion" make -C xen CFLAGS="-Warith-conversion -Wno-error=arith-conversion" make -C xen
* - `Rule 11.7 <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_11_07.c>`_
- Required
- A cast shall not be performed between pointer to object and a noninteger arithmetic type
-
* - `Rule 11.8 <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_11_08.c>`_
- Required
- A cast shall not remove any const or volatile qualification from the type pointed to by a pointer
-
* - `Rule 12.5 <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_12_05.c>`_ * - `Rule 12.5 <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_12_05.c>`_
- Mandatory - Mandatory
- The sizeof operator shall not have an operand which is a function - 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.