mbox series

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

Message ID cover.1702553835.git.nicola.vetrini@bugseng.com (mailing list archive)
Headers show
Series address remaining violations of MISRA C:2012 Rule 11.9 | expand

Message

Nicola Vetrini Dec. 14, 2023, 11:44 a.m. UTC
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(-)