From: Simone Ballarin <simone.ballarin@bugseng.com>
To: xen-devel@lists.xenproject.org
Cc: consulting@bugseng.com, sstabellini@kernel.org,
"Simone Ballarin" <simone.ballarin@bugseng.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"George Dunlap" <george.dunlap@citrix.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Julien Grall" <julien@xen.org>, "Wei Liu" <wl@xen.org>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Doug Goldstein" <cardoe@cardoe.com>,
"Bertrand Marquis" <bertrand.marquis@arm.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>
Subject: [XEN PATCH v2 00/10] address violations of MISRA C:2012 Directive 4.10
Date: Tue, 12 Sep 2023 11:36:46 +0200 [thread overview]
Message-ID: <cover.1694510856.git.simone.ballarin@bugseng.com> (raw)
Add or move inclusion guards to address violations of
MISRA C:2012 Directive 4.10 ("Precautions shall be taken in order
to prevent the contents of a header file being included more than
once").
Inclusion guards must appear at the beginning of the headers
(comments are permitted anywhere) and the #if directive cannot
be used for other checks.
Simone Ballarin (10):
misra: add deviation for headers that explicitly avoid guards
misra: modify deviations for empty and generated headers
misra: add deviations for direct inclusion guards
xen/arm: address violations of MISRA C:2012 Directive 4.10
xen/x86: address violations of MISRA C:2012 Directive 4.10
x86/EFI: address violations of MISRA C:2012 Directive 4.10
xen/common: address violations of MISRA C:2012 Directive 4.10
xen/efi: address violations of MISRA C:2012 Directive 4.10
xen: address violations of MISRA C:2012 Directive 4.10
x86/asm: address violations of MISRA C:2012 Directive 4.10
.../eclair_analysis/ECLAIR/deviations.ecl | 7 ----
docs/misra/safe.json | 32 +++++++++++++++++++
xen/arch/arm/efi/efi-boot.h | 6 ++++
xen/arch/arm/efi/runtime.h | 1 +
xen/arch/arm/include/asm/hypercall.h | 1 +
xen/arch/x86/Makefile | 8 ++---
xen/arch/x86/cpu/cpu.h | 5 +++
xen/arch/x86/efi/runtime.h | 5 +++
xen/arch/x86/include/asm/compat.h | 5 +++
xen/arch/x86/include/asm/cpufeatures.h | 5 +--
xen/arch/x86/include/asm/efibind.h | 5 +++
xen/arch/x86/include/asm/hypercall.h | 1 +
xen/arch/x86/x86_64/mmconfig.h | 5 +++
xen/arch/x86/x86_emulate/private.h | 5 +++
xen/common/decompress.h | 5 +++
xen/common/efi/efi.h | 5 +++
xen/common/event_channel.h | 5 +++
xen/include/Makefile | 10 ++++--
xen/include/public/arch-x86/cpufeatureset.h | 1 +
xen/include/public/errno.h | 1 +
xen/include/xen/err.h | 4 ++-
xen/include/xen/pci_ids.h | 5 +++
xen/include/xen/softirq.h | 4 ++-
xen/include/xen/unaligned.h | 1 +
xen/include/xen/vmap.h | 4 ++-
25 files changed, 115 insertions(+), 21 deletions(-)
--
2.34.1
next reply other threads:[~2023-09-12 9:38 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-12 9:36 Simone Ballarin [this message]
2023-09-12 9:36 ` [XEN PATCH v2 01/10] misra: add deviation for headers that explicitly avoid guards Simone Ballarin
2023-09-12 9:46 ` Jan Beulich
2023-09-12 9:49 ` Simone Ballarin
2023-09-12 9:36 ` [XEN PATCH v2 02/10] misra: modify deviations for empty and generated headers Simone Ballarin
2023-09-12 9:49 ` Jan Beulich
2023-09-12 9:36 ` [XEN PATCH v2 03/10] misra: add deviations for direct inclusion guards Simone Ballarin
2023-09-12 9:52 ` Jan Beulich
2023-09-12 10:05 ` Simone Ballarin
2023-09-12 10:19 ` Jan Beulich
2023-09-12 15:58 ` Simone Ballarin
2023-09-12 9:36 ` [XEN PATCH v2 04/10] xen/arm: address violations of MISRA C:2012 Directive 4.10 Simone Ballarin
2023-09-13 1:12 ` Stefano Stabellini
2023-09-12 9:36 ` [XEN PATCH v2 05/10] xen/x86: " Simone Ballarin
2023-09-12 9:36 ` [XEN PATCH v2 06/10] x86/EFI: " Simone Ballarin
2023-09-12 10:00 ` Jan Beulich
2023-09-12 9:36 ` [XEN PATCH v2 07/10] xen/common: " Simone Ballarin
2023-09-13 1:15 ` Stefano Stabellini
2023-09-12 9:36 ` [XEN PATCH v2 08/10] xen/efi: " Simone Ballarin
2023-09-13 1:16 ` Stefano Stabellini
2023-09-12 9:36 ` [XEN PATCH v2 09/10] xen: " Simone Ballarin
2023-09-13 1:18 ` Stefano Stabellini
2023-09-12 9:36 ` [XEN PATCH v2 10/10] x86/asm: " Simone Ballarin
2023-09-13 1:25 ` Stefano Stabellini
2023-09-13 8:02 ` [XEN PATCH v2 00/10] " Jan Beulich
2023-09-28 12:46 ` Simone Ballarin
2023-09-28 12:51 ` Jan Beulich
2023-09-28 13:17 ` Simone Ballarin
2023-09-28 15:00 ` Jan Beulich
2023-09-28 15:39 ` Simone Ballarin
2023-09-28 22:24 ` Stefano Stabellini
2023-09-29 7:54 ` Simone Ballarin
2023-09-29 20:41 ` Stefano Stabellini
2023-10-16 11:26 ` Jan Beulich
2023-10-18 0:48 ` Stefano Stabellini
2023-10-18 5:58 ` Jan Beulich
2023-10-19 0:44 ` Stefano Stabellini
2023-10-19 6:51 ` Jan Beulich
2023-10-19 16:19 ` Stefano Stabellini
2023-10-20 6:32 ` Jan Beulich
2023-10-20 23:26 ` Stefano Stabellini
2023-10-23 6:31 ` Jan Beulich
2023-10-23 20:47 ` Stefano Stabellini
2023-10-24 13:31 ` Julien Grall
2023-10-24 14:25 ` Jan Beulich
2023-10-24 19:59 ` Stefano Stabellini
2023-10-25 8:18 ` Jan Beulich
2023-10-25 15:58 ` Julien Grall
2023-10-25 16:01 ` Jan Beulich
2023-10-25 16:47 ` Julien Grall
2023-10-25 21:12 ` Stefano Stabellini
2023-10-26 7:07 ` Jan Beulich
2023-10-26 22:50 ` Stefano Stabellini
2023-10-27 7:34 ` Simone Ballarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1694510856.git.simone.ballarin@bugseng.com \
--to=simone.ballarin@bugseng.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=bertrand.marquis@arm.com \
--cc=cardoe@cardoe.com \
--cc=consulting@bugseng.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.