Skip to content

Fix MISRA regression about flexible array member not at the end

Luca Fancellu xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/kernel.h: Import __struct_group from Linuxxen/include/xen/kernel.h+21 -06 replies
2/2xen/arm: Fix MISRA regression on R1.1, flexible array member not at the endxen/arch/arm/acpi/domain_build.c xen/arch/arm/domain_build.c xen/arch/arm/include/asm/kernel.h +3 more+45 -2313 replies

Reviews trailers per patch

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

PatchStefano Stabellini
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix MISRA regression about flexible array member not at the end

This small serie is fixing a MISRA regression on the R1.1 due to the introduction of a new interface that uses a flexible member array [1].

I've splitted the serie in two in order to keep the Linux imported code on a single commit, the imported macro is later used in the second patch of the serie.

[1] https://lore.kernel.org/all/[email protected]/

Luca Fancellu (2):
xen/kernel.h: Import __struct_group from Linux
xen/arm: Fix MISRA regression on R1.1, flexible array member not at
the end

 xen/arch/arm/acpi/domain_build.c        |  2 +-
 xen/arch/arm/domain_build.c             |  6 +++---
 xen/arch/arm/include/asm/kernel.h       | 11 ++++++++++-
 xen/arch/arm/include/asm/setup.h        | 18 ++++++++++--------
 xen/arch/arm/include/asm/static-shmem.h | 12 ++++++++++++
 xen/arch/arm/static-shmem.c             | 19 +++++++++----------
 xen/include/xen/kernel.h                | 21 +++++++++++++++++++++
 7 files changed, 66 insertions(+), 23 deletions(-)
Signature · 1 line
2.34.1