From efad36f1ba18946acecc030166b1a6bebeb88ea2 Mon Sep 17 00:00:00 2001 From: Michal Orzel Date: Fri, 1 Mar 2024 09:49:47 +0100 Subject: [PATCH] docs/misra/rules.rst: Fix entry for 20.12 rule Commit 4cac80e22600 broke the CI cppcheck jobs by adding an entry for a rule 20.12 with "Severity" and "Summary" fields placed in reverse order. This leads to an error as reported by convert_misra_doc.py: No summary for rule 20.12 Fixes: 4cac80e22600 ("docs/misra/rules.rst: add rule 16.6 and 20.12") Signed-off-by: Michal Orzel Reviewed-by: Luca Fancellu --- docs/misra/rules.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/misra/rules.rst b/docs/misra/rules.rst index c185366966..efea063ab9 100644 --- a/docs/misra/rules.rst +++ b/docs/misra/rules.rst @@ -561,10 +561,10 @@ maintainers if you want to suggest a change. - * - `Rule 20.12 `_ + - Required - A macro parameter used as an operand to the # or ## operators, which is itself subject to further macro replacement, shall only be used as an operand to these operators - - Required - Variadic macros are allowed to violate the rule. * - `Rule 20.13 `_