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

Luca Fancellu posted 2 patches 2 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240430110922.15052-1-luca.fancellu@arm.com
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(-)
[PATCH 0/2] Fix MISRA regression about flexible array member not at the end
Posted by Luca Fancellu 2 weeks, 5 days ago
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/8be082b6d22d61c0b14910680d3833a7@bugseng.com/

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(-)

-- 
2.34.1