Skip to content

address remaining violations of MISRA C:2012 Rule 11.9

Nicola Vetrini xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen/hvm: use NULL as a null pointer constantxen/arch/x86/include/asm/hvm/irq.h xen/include/public/hvm/save.h+5 -52 replies
2/5x86/ioapic: use NULL as a null pointer constantxen/arch/x86/io_apic.c+2 -22 replies
3/5xen/acpi: Use NULL as a null pointer constantxen/include/acpi/acmacros.h+1 -13 replies
4/5x86/hvm: dom0: use helper to get sizeof struct fieldxen/arch/x86/hvm/dom0_build.c+1 -22 replies
5/5xen/wait: address violations of MISRA C Rule 11.9xen/common/wait.c+2 -22 replies

Reviews trailers per patch

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

PatchStefano StabelliniJan Beulich
1/5R-b A-b
2/5R-b A-b
3/5R-b
4/5R-b A-b
5/5R-b A-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 [XEN PATCH 0/5] address remaining violations of MISRA C:2012 Rule 11.9

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(-)
Signature · 1 line
2.34.1