[XEN PATCH v2] docs/misra: exclude files inherited from ACPI CA from MISRA compliance

Nicola Vetrini posted 1 patch 4 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/2a6df4ecd1cbcd14e3eb462eed0e1a73670ed762.1703067901.git.nicola.vetrini@bugseng.com
docs/misra/exclude-list.json | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
[XEN PATCH v2] docs/misra: exclude files inherited from ACPI CA from MISRA compliance
Posted by Nicola Vetrini 4 months, 2 weeks ago
The files under 'include/acpi/ac*.h' and 'include/acpi/plaform/ac*.h'
are inherited from Linux and ACPI CA, therefore they are not subject to
MISRA compliance at the moment.

No functional change.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
---
Changes in v2:
- Generalize the exclusion to ac*.h
- Add exclusion for acpi/platform/ac*.h

I added acpi/platform to the exclusion list since they indeed seem in the same
lot as the other ac*.h headers, as pointed out in v1 by Jan Beulich.
---
 docs/misra/exclude-list.json | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/docs/misra/exclude-list.json b/docs/misra/exclude-list.json
index 48f671c548b6..72b75215607f 100644
--- a/docs/misra/exclude-list.json
+++ b/docs/misra/exclude-list.json
@@ -194,19 +194,11 @@
             "comment": "Imported from Linux, ignore for now"
         },
         {
-            "rel_path": "include/acpi/acpiosxf.h",
+            "rel_path": "include/acpi/ac*.h",
             "comment": "Imported from Linux, ignore for now"
         },
         {
-            "rel_path": "include/acpi/acpixf.h",
-            "comment": "Imported from Linux, ignore for now"
-        },
-        {
-          "rel_path": "include/acpi/acexcep.h",
-          "comment": "Imported from Linux, ignore for now"
-        },
-        {
-          "rel_path": "include/acpi/acglobal.h",
+          "rel_path": "include/acpi/platform/ac*.h",
           "comment": "Imported from Linux, ignore for now"
         },
         {
-- 
2.34.1
Re: [XEN PATCH v2] docs/misra: exclude files inherited from ACPI CA from MISRA compliance
Posted by Stefano Stabellini 4 months, 2 weeks ago
On Wed, 20 Dec 2023, Nicola Vetrini wrote:
> The files under 'include/acpi/ac*.h' and 'include/acpi/plaform/ac*.h'
> are inherited from Linux and ACPI CA, therefore they are not subject to
> MISRA compliance at the moment.
> 
> No functional change.
> 
> Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>