[XEN PATCH 0/5] address remaining violations of MISRA C:2012 Rule 11.9

Nicola Vetrini posted 5 patches 4 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1702553835.git.nicola.vetrini@bugseng.com
xen/arch/x86/hvm/dom0_build.c      | 3 +--
xen/arch/x86/include/asm/hvm/irq.h | 2 +-
xen/arch/x86/io_apic.c             | 4 ++--
xen/common/wait.c                  | 4 ++--
xen/include/acpi/acmacros.h        | 2 +-
xen/include/public/hvm/save.h      | 8 ++++----
6 files changed, 11 insertions(+), 12 deletions(-)
[XEN PATCH 0/5] address remaining violations of MISRA C:2012 Rule 11.9
Posted by Nicola Vetrini 4 months, 3 weeks ago
Hi all,

this series resolves violations of MISRA C:2012 Rule 11.9. After this series is
applied the rule has no violations on both ARM and x86.

Nicola Vetrini (5):
  xen/hvm: use NULL as a null pointer constant
  x86/ioapic: use NULL as a null pointer constant
  xen/acpi: Use NULL as a null pointer constant
  x86/hvm: dom0: use helper to get sizeof struct field
  xen/wait: address violations of MISRA C Rule 11.9

 xen/arch/x86/hvm/dom0_build.c      | 3 +--
 xen/arch/x86/include/asm/hvm/irq.h | 2 +-
 xen/arch/x86/io_apic.c             | 4 ++--
 xen/common/wait.c                  | 4 ++--
 xen/include/acpi/acmacros.h        | 2 +-
 xen/include/public/hvm/save.h      | 8 ++++----
 6 files changed, 11 insertions(+), 12 deletions(-)

-- 
2.34.1