From: Nicola Vetrini <nicola.vetrini@bugseng.com>
To: xen-devel@lists.xenproject.org, nicola.vetrini@bugseng.com
Cc: sstabellini@kernel.org, michal.orzel@amd.com,
xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com,
consulting@bugseng.com, bertrand.marquis@arm.com, julien@xen.org,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
"Anthony PERARD" <anthony@xenproject.org>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"George Dunlap" <george.dunlap@citrix.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: [XEN PATCH v2 0/3] address violations of MISRA C Rule 20.7
Date: Tue, 30 Apr 2024 16:28:13 +0200 [thread overview]
Message-ID: <cover.1714487169.git.nicola.vetrini@bugseng.com> (raw)
Hi all,
this series aims to refactor some macros that cause violations of MISRA C Rule
20.7 ("Expressions resulting from the expansion of macro parameters shall be
enclosed in parentheses"). All the macros touched by these patches are in some
way involved in violations, and the strategy adopted to bring them into
compliance is to add parentheses around macro arguments where needed.
Patch 1/3 is derived from that of v1; patches 2 and 3 are new to this series.
Nicola Vetrini (3):
drivers: char: address violation of MISRA C Rule 20.7
xen/unaligned: address violation of MISRA C Rule 20.7
xen/pci: address violations of MISRA C Rule 20.7
tools/include/xen-tools/common-macros.h | 2 +-
xen/drivers/char/omap-uart.c | 5 +++--
xen/include/xen/pci_regs.h | 6 +++---
xen/include/xen/unaligned.h | 2 +-
xen/include/xen/vpci.h | 2 +-
5 files changed, 9 insertions(+), 8 deletions(-)
--
2.34.1
next reply other threads:[~2024-04-30 14:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 14:28 Nicola Vetrini [this message]
2024-04-30 14:28 ` [XEN PATCH v2 1/3] drivers: char: address violation of MISRA C Rule 20.7 Nicola Vetrini
2024-05-01 19:57 ` Stefano Stabellini
2024-05-03 7:29 ` Nicola Vetrini
2024-05-03 10:10 ` Jan Beulich
2024-05-03 10:18 ` Nicola Vetrini
2024-04-30 14:28 ` [XEN PATCH v2 2/3] xen/unaligned: " Nicola Vetrini
2024-04-30 15:13 ` Jan Beulich
2024-04-30 15:25 ` Nicola Vetrini
2024-04-30 14:28 ` [XEN PATCH v2 3/3] xen/pci: address violations " Nicola Vetrini
2024-04-30 15:15 ` Jan Beulich
2024-05-14 9:11 ` Jan Beulich
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.1714487169.git.nicola.vetrini@bugseng.com \
--to=nicola.vetrini@bugseng.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony@xenproject.org \
--cc=ayan.kumar.halder@amd.com \
--cc=bertrand.marquis@arm.com \
--cc=consulting@bugseng.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
--cc=xenia.ragiadakou@amd.com \
/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.