address violations of MISRA C Rule 20.7
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 9 repliesIn review
- v27 patches 9 repliesSuperseded
- v110 patches 42 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86/msi: address violation of MISRA C Rule 20.7 and coding stylexen/ | +25 | 2 replies | |
| 2/7 | arm/public: address violations of MISRA C Rule 20.7xen/ | +1 | 1 reply | |
| 3/7 | x86/vPMU: address violations of MISRA C Rule 20.7xen/ | +2 | 1 reply | |
| 4/7 | x86/hvm: address violations of MISRA C Rule 20.7xen/ | +3 | 1 reply | |
| 5/7 | automation/eclair: add deviations for Rule 20.7automation/ docs/ docs/ | +37 | 2 replies | |
| 6/7 | xen/mm: address violations of MISRA C Rule 20.7xen/ | +7 | 1 reply | |
| 7/7 | x86/amd: address violations of MISRA C Rule 20.7xen/ | +2 | 1 reply |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Stefano Stabellini |
|---|---|---|
| 1/7 | ||
| 2/7 | R-b | |
| 3/7 | A-b | |
| 4/7 | A-b | |
| 5/7 | R-b R-b | |
| 6/7 | A-b | |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [XEN PATCH v3 0/7] address violations of MISRA C Rule 20.7
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.
Deviations from the rule have been amended to encompass also direct use in initializer lists of macro arguments.
Patch 1 is taken, with adjustments, from the earlier series (which was incorrectly tagged as v1). All other patches are new in this series and are pairwise indipendent.
Nicola Vetrini (7):
x86/msi: address violation of MISRA C Rule 20.7 and coding style arm/public: address violations of MISRA C Rule 20.7 x86/vPMU: address violations of MISRA C Rule 20.7 x86/hvm: address violations of MISRA C Rule 20.7 automation/eclair: add deviations for Rule 20.7 xen/mm: address violations of MISRA C Rule 20.7 x86/amd: address violations of MISRA C Rule 20.7
.../eclair_analysis/ECLAIR/deviations.ecl | 25 +++++++++- docs/misra/deviations.rst | 14 +++++- docs/misra/rules.rst | 2 +- xen/arch/x86/hvm/domain.c | 6 +-- xen/arch/x86/include/asm/amd.h | 3 +- xen/arch/x86/include/asm/msi.h | 49 ++++++++++--------- xen/arch/x86/include/asm/vpmu.h | 4 +- xen/include/public/arch-arm.h | 2 +- xen/include/xen/mm.h | 14 +++--- 9 files changed, 77 insertions(+), 42 deletions(-)
Signature · 1 line
2.34.1