From 18828f00e4fd712313d9fe1a040d4daf8c8ba3d6 Mon Sep 17 00:00:00 2001 From: Nicola Vetrini Date: Wed, 20 Dec 2023 11:44:25 +0100 Subject: [PATCH] automation/eclair_analysis: fix typo in deviation. Unwanted leading '+'-s cause the deviation not to work as expected, leading to wrong analysis counts. Fixes: 11126964d82f ("automation/eclair_analysis: avoid violation of MISRA Rule 2.1") Signed-off-by: Nicola Vetrini Reviewed-by: Stefano Stabellini --- automation/eclair_analysis/ECLAIR/deviations.ecl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/automation/eclair_analysis/ECLAIR/deviations.ecl b/automation/eclair_analysis/ECLAIR/deviations.ecl index 4b5140fe3f..fd32ff8a9c 100644 --- a/automation/eclair_analysis/ECLAIR/deviations.ecl +++ b/automation/eclair_analysis/ECLAIR/deviations.ecl @@ -28,10 +28,10 @@ not executable, and therefore it is safe for them to be unreachable." -config=MC3R1.R2.1,ignored_stmts+={"any()", "pure_decl()"} -doc_end -+-doc_begin="The following autogenerated file is not linked deliberately." -+-file_tag+={C_runtime_failures,"^automation/eclair_analysis/C-runtime-failures\\.rst\\.c$"} -+-config=MC3R1.R2.1,reports+={deliberate, "any_area(any_loc(file(C_runtime_failures)))"} -+-doc_end +-doc_begin="The following autogenerated file is not linked deliberately." +-file_tag+={C_runtime_failures,"^automation/eclair_analysis/C-runtime-failures\\.rst\\.c$"} +-config=MC3R1.R2.1,reports+={deliberate, "any_area(any_loc(file(C_runtime_failures)))"} +-doc_end -doc_begin="Proving compliance with respect to Rule 2.2 is generally impossible: see https://arxiv.org/abs/2212.13933 for details. Moreover, peer review gives us -- 2.39.5