All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicola Vetrini <nicola.vetrini@bugseng.com>
To: xen-devel@lists.xenproject.org
Cc: sstabellini@kernel.org, michal.orzel@amd.com,
	xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com,
	consulting@bugseng.com, jbeulich@suse.com,
	andrew.cooper3@citrix.com, roger.pau@citrix.com,
	Nicola Vetrini <nicola.vetrini@bugseng.com>,
	Tamas K Lengyel <tamas@tklengyel.com>,
	Alexandru Isaila <aisaila@bitdefender.com>,
	Petre Pircalabu <ppircalabu@bitdefender.com>,
	Wei Liu <wl@xen.org>
Subject: [XEN PATCH][for-4.19 v4 5/8] x86/vm_event: add missing include for hvm_vm_event_do_resume
Date: Mon, 23 Oct 2023 11:56:42 +0200	[thread overview]
Message-ID: <02ce024fc553e324a89971358c1bc54b85e7e9c5.1698053876.git.nicola.vetrini@bugseng.com> (raw)
In-Reply-To: <cover.1698053876.git.nicola.vetrini@bugseng.com>

The missing header makes the declaration visible when the function
is defined, thereby fixing a violation of MISRA C:2012 Rule 8.4.

Fixes: 1366a0e76db6 ("x86/vm_event: add hvm/vm_event.{h,c}")
Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
---
 xen/arch/x86/hvm/vm_event.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/arch/x86/hvm/vm_event.c b/xen/arch/x86/hvm/vm_event.c
index 3b064bcfade5..c1af230e7aed 100644
--- a/xen/arch/x86/hvm/vm_event.c
+++ b/xen/arch/x86/hvm/vm_event.c
@@ -24,6 +24,7 @@
 #include <xen/vm_event.h>
 #include <asm/hvm/emulate.h>
 #include <asm/hvm/support.h>
+#include <asm/hvm/vm_event.h>
 #include <asm/vm_event.h>
 
 static void hvm_vm_event_set_registers(const struct vcpu *v)
-- 
2.34.1



  parent reply	other threads:[~2023-10-23  9:57 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Nicola Vetrini [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02ce024fc553e324a89971358c1bc54b85e7e9c5.1698053876.git.nicola.vetrini@bugseng.com \
    --to=nicola.vetrini@bugseng.com \
    --cc=aisaila@bitdefender.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ayan.kumar.halder@amd.com \
    --cc=consulting@bugseng.com \
    --cc=jbeulich@suse.com \
    --cc=michal.orzel@amd.com \
    --cc=ppircalabu@bitdefender.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=tamas@tklengyel.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    --cc=xenia.ragiadakou@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.