xen: address violations of Rule 13.1
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 42 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | xen/arm: address violations of MISRA C:2012 Rule 13.1xen/ xen/ xen/ | +12 | 12 replies | |
| 2/4 | automation/eclair: add deviations and call properties.automation/ automation/ docs/ | +34 | 4 replies | |
| 3/4 | xen/include: add pure and const attributesxen/ xen/ | +3 | 17 replies | |
| 4/4 | xen: address violations of MISRA C:2012 Rule 13.1xen/ xen/ | +15 | 9 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini |
|---|---|
| 1/4 | |
| 2/4 | A-b |
| 3/4 | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [XEN PATCH 0/4][for-4.19] xen: address violations of Rule 13.1
This series contains some changes and deviation to address reports of MISRA C:2012 Rule 13.1:
Initializer lists shall not contain persistent side effects
Some expressions with side-effects have been moved outside the initializer lists, others have been deviated.
Function calls do not necessarily have side-effects, in these cases this path propose to add GCC pure or const attributes whenever possible.
Function attributes pure and const do not need to be added as GCC attributes, they can be added using ECLAIR configurations.
Simone Ballarin (4):
xen/arm: address violations of MISRA C:2012 Rule 13.1 automation/eclair: add deviations and call properties. xen/include: add pure and const attributes
xen: address violations of MISRA C:2012 Rule 13.1
.../eclair_analysis/ECLAIR/call_properties.ecl | 10 ++++++++++ automation/eclair_analysis/ECLAIR/deviations.ecl | 13 +++++++++++++ docs/misra/deviations.rst | 11 +++++++++++ xen/arch/arm/device.c | 6 +++--- xen/arch/arm/guestcopy.c | 12 ++++++++---- xen/arch/arm/include/asm/current.h | 2 +- xen/common/sched/core.c | 16 ++++++++++++---- xen/drivers/char/ns16550.c | 4 +++- xen/include/xen/pdx.h | 2 +- xen/include/xen/typesafe.h | 4 ++-- 10 files changed, 64 insertions(+), 16 deletions(-)
Signature · 1 line
2.34.1