Mailing List Archive

[xen master] docs/misra: mark the gzip folder as adopted code
commit 02fbb2d591e794d3da430a207af0449d0c8c9228
Author: Federico Serafini <federico.serafini@bugseng.com>
AuthorDate: Mon Apr 15 11:56:30 2024 +0200
Commit: Andrew Cooper <andrew.cooper3@citrix.com>
CommitDate: Thu Apr 18 20:43:11 2024 +0100

docs/misra: mark the gzip folder as adopted code

Mark the whole gzip folder as adopted code and remove the redundant
deviation of file inflate.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
automation/eclair_analysis/ECLAIR/deviations.ecl | 5 -----
docs/misra/exclude-list.json | 2 +-
2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/automation/eclair_analysis/ECLAIR/deviations.ecl b/automation/eclair_analysis/ECLAIR/deviations.ecl
index 0230b41c6d..4287805819 100644
--- a/automation/eclair_analysis/ECLAIR/deviations.ecl
+++ b/automation/eclair_analysis/ECLAIR/deviations.ecl
@@ -148,11 +148,6 @@ const-qualified."
# Series 8.
#

--doc_begin="The following file is imported from Linux: ignore for now."
--file_tag+={adopted_r8_2,"^xen/common/inflate\\.c$"}
--config=MC3R1.R8.2,reports+={deliberate,"any_area(any_loc(file(adopted_r8_2)))"}
--doc_end
-
-doc_begin="The type ret_t is deliberately used and defined as int or long depending on the architecture."
-config=MC3R1.R8.3,reports+={deliberate,"any_area(any_loc(text(^.*ret_t.*$)))"}
-doc_end
diff --git a/docs/misra/exclude-list.json b/docs/misra/exclude-list.json
index 0956364158..cd69765427 100644
--- a/docs/misra/exclude-list.json
+++ b/docs/misra/exclude-list.json
@@ -118,7 +118,7 @@
"comment": "Imported from Linux, ignore for now"
},
{
- "rel_path": "common/gzip/inflate.c",
+ "rel_path": "common/gzip/*",
"comment": "Imported from Linux, ignore for now"
},
{
--
generated by git-patchbot for /home/xen/git/xen.git#master