[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] docs/misra: add rule 11.9
commit 0b5bca91aa490ec6d57045550b3dc1bc22babf6e Author: Stefano Stabellini <stefano.stabellini@xxxxxxx> AuthorDate: Tue Sep 26 18:05:38 2023 -0700 Commit: Stefano Stabellini <stefano.stabellini@xxxxxxx> CommitDate: Fri Sep 29 11:00:47 2023 -0700 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@xxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Bertrand Marquis <bertrand.marquis@xxxxxxx> Release-acked-by: Henry Wang <Henry.Wang@xxxxxxx> --- docs/misra/rules.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/misra/rules.rst b/docs/misra/rules.rst index 67c9195ed8..661aa95e23 100644 --- a/docs/misra/rules.rst +++ b/docs/misra/rules.rst @@ -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 -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |