[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] docs/misra: add asm-offset.c to exclude-list



commit b3bea912a737a0db39a89b0da0033c4bfda82f03
Author:     Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
AuthorDate: Thu Feb 8 16:50:09 2024 +0100
Commit:     Julien Grall <jgrall@xxxxxxxxxx>
CommitDate: Tue Feb 13 10:20:38 2024 +0000

    docs/misra: add asm-offset.c to exclude-list
    
    These files contain several deliberate violations of MISRA C rules such
    as:
      * R20.12 for macros DEFINE and OFFSET, where the second argument
        of OFFSET is a macro and is used as a normal parameter and a
        stringification operand.
      * R2.1 because the file is not linked. That said it was decided to
        deviate the rule itself to address that aspect).
    
    No functional change.
    
    Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
---
 docs/misra/exclude-list.json | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/misra/exclude-list.json b/docs/misra/exclude-list.json
index 7971d0e70f..bfd967f0e4 100644
--- a/docs/misra/exclude-list.json
+++ b/docs/misra/exclude-list.json
@@ -101,6 +101,10 @@
             "rel_path": "arch/x86/efi/check.c",
             "comment": "The resulting code is not included in the final Xen 
binary, ignore for now"
         },
+        {
+            "rel_path": "arch/*/*/asm-offsets.c",
+            "comment": "The resulting code is not included in the final Xen 
binary, ignore for now"
+        },
         {
             "rel_path": "common/coverage/*",
             "comment": "Files to support gcov, ignore for now"
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.