All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH][for-4.19 v4 0/8] Fix or deviate various instances of missing declarations
@ 2023-10-23  9:56 Nicola Vetrini
  2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 1/8] xen: modify or add declarations for variables where needed Nicola Vetrini
                   ` (7 more replies)
  0 siblings, 8 replies; 31+ messages in thread
From: Nicola Vetrini @ 2023-10-23  9:56 UTC (permalink / raw)
  To: xen-devel
  Cc: sstabellini, michal.orzel, xenia.ragiadakou, ayan.kumar.halder,
	consulting, jbeulich, andrew.cooper3, roger.pau, Nicola Vetrini,
	Julien Grall, Bertrand Marquis, Volodymyr Babchuk, George Dunlap,
	Wei Liu, Jun Nakajima, Kevin Tian, Tamas K Lengyel,
	Alexandru Isaila, Petre Pircalabu

The patches in this series aim to fix or deviate various instances where a
function or variable do not have a declaration visible when such entity is
defined (in violation of MISRA C:2012 Rule 8.4).
An exception listed under docs/misra/rules.rst allows asm-only functions and
variables to be exempted, while the other instances are either changed
(e.g., making them static) or a missing header inclusion is added.

Nicola Vetrini (8):
  xen: modify or add declarations for variables where needed
  x86: add deviations for variables only used in asm code
  x86: add deviation comments for  asm-only functions
  x86/grant: switch included header to make declarations visible
  x86/vm_event: add missing include for hvm_vm_event_do_resume
  xen/console: remove stub definition in consoled.h
  x86/mem_access: make function static
  docs/misra: exclude three more files

 docs/misra/exclude-list.json               | 12 ++++++++++++
 xen/arch/arm/include/asm/setup.h           |  3 +++
 xen/arch/arm/include/asm/smp.h             |  3 +++
 xen/arch/arm/platform_hypercall.c          |  2 +-
 xen/arch/x86/cpu/mcheck/mce.c              |  7 ++++---
 xen/arch/x86/hvm/grant_table.c             |  3 +--
 xen/arch/x86/hvm/svm/intr.c                |  1 +
 xen/arch/x86/hvm/svm/nestedsvm.c           |  1 +
 xen/arch/x86/hvm/svm/svm.c                 |  2 ++
 xen/arch/x86/hvm/vm_event.c                |  1 +
 xen/arch/x86/hvm/vmx/intr.c                |  1 +
 xen/arch/x86/hvm/vmx/vmx.c                 |  2 ++
 xen/arch/x86/hvm/vmx/vvmx.c                |  1 +
 xen/arch/x86/include/asm/asm_defns.h       |  1 +
 xen/arch/x86/include/asm/hvm/grant_table.h |  2 ++
 xen/arch/x86/irq.c                         |  2 +-
 xen/arch/x86/mm/mem_access.c               |  6 +++---
 xen/arch/x86/setup.c                       |  4 +++-
 xen/arch/x86/traps.c                       |  1 +
 xen/arch/x86/x86_64/traps.c                |  1 +
 xen/include/xen/consoled.h                 |  7 -------
 xen/include/xen/symbols.h                  |  1 +
 22 files changed, 46 insertions(+), 18 deletions(-)

--
2.34.1


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2023-10-26 22:52 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23  9:56 [XEN PATCH][for-4.19 v4 0/8] Fix or deviate various instances of missing declarations Nicola Vetrini
2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 1/8] xen: modify or add declarations for variables where needed Nicola Vetrini
2023-10-23 23:03   ` Stefano Stabellini
2023-10-24  6:18     ` Jan Beulich
2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 2/8] x86: add deviations for variables only used in asm code Nicola Vetrini
2023-10-24  7:32   ` Jan Beulich
2023-10-24  7:58     ` Nicola Vetrini
2023-10-24  8:12       ` Jan Beulich
2023-10-24 13:40         ` Nicola Vetrini
2023-10-24 14:27           ` Jan Beulich
2023-10-24  7:35   ` Jan Beulich
2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 3/8] x86: add deviation comments for asm-only functions Nicola Vetrini
2023-10-24  7:50   ` Jan Beulich
2023-10-24  8:01     ` Nicola Vetrini
2023-10-24  8:14       ` Jan Beulich
2023-10-24 13:41         ` Nicola Vetrini
2023-10-24 19:50           ` Stefano Stabellini
2023-10-25 14:04             ` Nicola Vetrini
2023-10-25 22:36               ` Stefano Stabellini
2023-10-26  9:42                 ` Nicola Vetrini
2023-10-26 22:52                   ` Stefano Stabellini
2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 4/8] x86/grant: switch included header to make declarations visible Nicola Vetrini
2023-10-24  7:54   ` Jan Beulich
2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 5/8] x86/vm_event: add missing include for hvm_vm_event_do_resume Nicola Vetrini
2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 6/8] xen/console: remove stub definition in consoled.h Nicola Vetrini
2023-10-23 10:21   ` Jan Beulich
2023-10-23 10:29     ` Nicola Vetrini
2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 7/8] x86/mem_access: make function static Nicola Vetrini
2023-10-23  9:56 ` [XEN PATCH][for-4.19 v4 8/8] docs/misra: exclude three more files Nicola Vetrini
2023-10-23 10:23   ` Jan Beulich
2023-10-23 10:30     ` Nicola Vetrini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.