Skip to content

Misc MISRA fixes for default Xen build configurations

Nicola Vetrini xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/xsm: address violations of MISRA C rules 8.3 and 7.2xen/include/xsm/xsm.h+3 -31 reply
2/4xen/sched: address violation of MISRA C Rule 16.3xen/common/sched/credit.c+1 -11 reply
3/4xen/param: address violation of MISRA C Rule 20.7xen/include/xen/param.h+2 -21 reply
4/4xen/param: address violation of MISRA C Rule 8.2xen/include/xen/param.h+1 -11 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJuergen GrossJan BeulichDaniel P. Smith
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] Misc MISRA fixes for default Xen build configurations

This series addresses some of the violations found by widening the scope of application of MISRA checking to default builds of Xen for both ARM64 and x86_64.

While it has been tested on top of a patch yet to be applied (but with the necessary R-by [1]) these fixes can go in independently of that.

As evidenced by the CI pipeline below, there are a number of regressions on guidelines that were clean on the restricted scope but are not in the wider one; the patches in this series address a subset of those.

CI pipeline: https://gitlab.com/xen-project/people/bugseng/xen/-/pipelines/2156782159

[1] https://lore.kernel.org/xen-devel/alpine.DEB.2.22.394.2511031448530.495094@ubuntu-linux-20-04-desktop/

Nicola Vetrini (4):
xen/xsm: address violations of MISRA C rules 8.3 and 7.2 xen/sched: address violation of MISRA C Rule 16.3 xen/param: address violation of MISRA C Rule 20.7 xen/param: address violation of MISRA C Rule 8.2

 xen/common/sched/credit.c | 2 +-
 xen/include/xen/param.h   | 6 +++---
 xen/include/xsm/xsm.h     | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.51.2