diff mbox series

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

Message ID 2a6df4ecd1cbcd14e3eb462eed0e1a73670ed762.1703067901.git.nicola.vetrini@bugseng.com (mailing list archive)
State New, archived
Headers show
Series [XEN,v2] docs/misra: exclude files inherited from ACPI CA from MISRA compliance | expand

Commit Message

Nicola Vetrini Dec. 20, 2023, 4:15 p.m. UTC
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(-)

Comments

Stefano Stabellini Dec. 20, 2023, 6:24 p.m. UTC | #1
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>
diff mbox series

Patch

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"
         },
         {