[PATCH RFC] drop bogus Eclair R2.1 deviation

Jan Beulich posted 1 patch 1 week, 5 days ago
[PATCH RFC] drop bogus Eclair R2.1 deviation
Posted by Jan Beulich 1 week, 5 days ago
This has no counterpart in docs/misra/deviations.rst and can't really be
meant as written.

Fixes: c4392ec83244 ("automation: Add ECLAIR utilities and settings")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
Of course this causes new violations [1], compared to [2]:
- eclair-ARM64-allcode: 233 (up from 0),
- eclair-ARM64-amd: 279 (up from 0),
- eclair-x86_64-allcode: 197 (up from 7),
- eclair-x86_64-amd: 305 (up from 7).
Some of these may want deviating, but such should be put in place with
proper reasoning. As the rule wasn't clean yet (on x86), pipelines would be
unaffected though.

[1] https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/3053300432
[2] https://gitlab.com/xen-project/hardware/xen/-/pipelines/3051143568

--- a/automation/eclair_analysis/ECLAIR/deviations.ecl
+++ b/automation/eclair_analysis/ECLAIR/deviations.ecl
@@ -8,10 +8,6 @@
 -config=MC3A2.R2.1,+reports={safe,"first_area(^.*incompatible with labeled statement$)"}
 -doc_end
 
--doc_begin="Some functions are intended to be not referenced."
--config=MC3A2.R2.1,+reports={deliberate,"first_area(^.*is never referenced$)"}
--doc_end
-
 -doc_begin="Unreachability caused by calls to the following functions or macros is deliberate and there is no risk of code being unexpectedly left out."
 -config=MC3A2.R2.1,statements+={deliberate,"macro(name(BUG||assert_failed))"}
 -config=MC3A2.R2.1,statements+={deliberate, "call(decl(name(__builtin_unreachable||panic||do_unexpected_trap||machine_halt||machine_restart||reboot_or_halt)))"}