[XEN PATCH 0/7] address some violations of MISRA C Rule 8.4

Nicola Vetrini posted 7 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1701270983.git.nicola.vetrini@bugseng.com
There is a newer version of this series
docs/misra/exclude-list.json         | 4 ++++
xen/arch/arm/mmu/setup.c             | 1 +
xen/arch/arm/mmu/smpboot.c           | 2 ++
xen/arch/x86/cpu/mcheck/mce.c        | 2 +-
xen/arch/x86/desc.c                  | 2 +-
xen/arch/x86/efi/efi-boot.h          | 5 +++--
xen/arch/x86/hvm/viridian/synic.c    | 2 +-
xen/arch/x86/i8259.c                 | 1 +
xen/arch/x86/include/asm/hypercall.h | 2 +-
xen/arch/x86/mm.c                    | 2 +-
xen/arch/x86/smpboot.c               | 2 +-
xen/common/page_alloc.c              | 1 +
12 files changed, 18 insertions(+), 8 deletions(-)
[XEN PATCH 0/7] address some violations of MISRA C Rule 8.4
Posted by Nicola Vetrini 5 months ago
Hi all,

this series addresses some of the remaining violations of MISRA C:2012 Rule 8.4.

Some of the modifications are done according to the feedback received in this
thread [1]


Nicola Vetrini (7):
  xen/arm: mmu: add headers for missing declarations
  x86/i8259: add missing header for init_IRQ declaration
  xen/x86: add missing instances of asmlinkage attributes
  x86/viridian: make build_assertions static
  docs/misra: add entry to exclude-list.json
  xen/x86: remove stale comment
  xen/page_alloc: deviate first_valid_mfn for MISRA C Rule 8.4

 docs/misra/exclude-list.json         | 4 ++++
 xen/arch/arm/mmu/setup.c             | 1 +
 xen/arch/arm/mmu/smpboot.c           | 2 ++
 xen/arch/x86/cpu/mcheck/mce.c        | 2 +-
 xen/arch/x86/desc.c                  | 2 +-
 xen/arch/x86/efi/efi-boot.h          | 5 +++--
 xen/arch/x86/hvm/viridian/synic.c    | 2 +-
 xen/arch/x86/i8259.c                 | 1 +
 xen/arch/x86/include/asm/hypercall.h | 2 +-
 xen/arch/x86/mm.c                    | 2 +-
 xen/arch/x86/smpboot.c               | 2 +-
 xen/common/page_alloc.c              | 1 +
 12 files changed, 18 insertions(+), 8 deletions(-)

-- 
2.34.1
Re: [XEN PATCH 0/7] address some violations of MISRA C Rule 8.4
Posted by Nicola Vetrini 5 months ago
On 2023-11-29 16:24, Nicola Vetrini wrote:
> Hi all,
> 
> this series addresses some of the remaining violations of MISRA C:2012 
> Rule 8.4.
> 
> Some of the modifications are done according to the feedback received 
> in this
> thread [1]
> 

missing a reference:

[1] 
https://lore.kernel.org/xen-devel/51df0275d0988af618c22adb8d55138c@bugseng.com/T/#t


-- 
Nicola Vetrini, BSc
Software Engineer, BUGSENG srl (https://bugseng.com)