Skip to content

address some violations of MISRA C Rule 8.4

Nicola Vetrini xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 18 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v17 patches 23 repliesSuperseded

Changes in v3 from the cover letter

- Patch 3/3: remove redundant declarations

[1] https://lore.kernel.org/xen-devel/[email protected]/

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen/x86: add missing instances of asmlinkage attributesxen/arch/x86/efi/efi-boot.h xen/arch/x86/smpboot.c+4 -32 replies
2/3x86/viridian: make build_assertions staticxen/arch/x86/hvm/viridian/synic.c+1 -11 reply
3/3xen/mm: add declaration for first_valid_mfnxen/arch/arm/include/asm/numa.h xen/arch/ppc/include/asm/numa.h xen/include/xen/mm.h+9 -815 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchStefano StabelliniPaul DurrantJan Beulich
1/3R-b A-b
2/3R-b A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [XEN PATCH v3 0/3] address some violations of MISRA C Rule 8.4

MISRA C:2012 Rule 8.4 states:
"A compatible declaration shall be visible when an object or function with external linkage is defined".

Changes from v1:
- Patch 1/7 has been committed;
- Patch 2/7 has been dropped, as the fix is already part of [1];
- Patch 3/7 drops the addition of asmlinkage on variables. Discussion on how to handle the existing uses can be part of a separate patch;
- Patch 4/7 is unchanged;
- Patch 5/7 has been committed;
- Patch 6/7 has been dropped
- Patch 7/7 has been revised to have a declaration for first_valid_mfn, rather than a deviation for the absence of a declaration
Changes from v2:
- Patch 3/3: remove redundant declarations

[1] https://lore.kernel.org/xen-devel/[email protected]/

Nicola Vetrini (3):
xen/x86: add missing instances of asmlinkage attributes x86/viridian: make build_assertions static xen/mm: add declaration for first_valid_mfn

 xen/arch/arm/include/asm/numa.h   | 8 ++++----
 xen/arch/ppc/include/asm/numa.h   | 7 +++----
 xen/arch/x86/efi/efi-boot.h       | 5 +++--
 xen/arch/x86/hvm/viridian/synic.c | 2 +-
 xen/arch/x86/smpboot.c            | 2 +-
 xen/include/xen/mm.h              | 2 ++
 6 files changed, 14 insertions(+), 12 deletions(-)
Signature · 1 line
2.34.1