All of lore.kernel.org
 help / color / mirror / Atom feed
From: Federico Serafini <federico.serafini@bugseng.com>
To: xen-devel@lists.xenproject.org
Cc: consulting@bugseng.com,
	"Federico Serafini" <federico.serafini@bugseng.com>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>, "Wei Liu" <wl@xen.org>
Subject: [XEN PATCH 8/8] x86/sysctl: address a violation of MISRA C:2012 Rule 8.2
Date: Mon, 23 Oct 2023 09:23:03 +0200	[thread overview]
Message-ID: <06004789b921a35632bd7126bf022e20c15052ef.1698045505.git.federico.serafini@bugseng.com> (raw)
In-Reply-To: <cover.1698045505.git.federico.serafini@bugseng.com>

Add missing parameter name. No functional change.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
---
 xen/arch/x86/sysctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/sysctl.c b/xen/arch/x86/sysctl.c
index c107f40c62..1d40d82c5a 100644
--- a/xen/arch/x86/sysctl.c
+++ b/xen/arch/x86/sysctl.c
@@ -118,7 +118,7 @@ long arch_do_sysctl(
         unsigned int cpu = sysctl->u.cpu_hotplug.cpu;
         unsigned int op  = sysctl->u.cpu_hotplug.op;
         bool plug;
-        long (*fn)(void *);
+        long (*fn)(void *data);
         void *hcpu;
 
         switch ( op )
-- 
2.34.1



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

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23  7:22 [XEN PATCH 0/8] x86: address some violations of MISRA C:2012 Rule 8.2 Federico Serafini
2023-10-23  7:22 ` [XEN PATCH 1/8] x86/hvm: address " Federico Serafini
2023-10-30 15:56   ` Jan Beulich
2023-10-23  7:22 ` [XEN PATCH 2/8] x86/mmconfig: " Federico Serafini
2023-10-30 15:57   ` Jan Beulich
2023-10-23  7:22 ` [XEN PATCH 3/8] x86/vpmu: address a violation " Federico Serafini
2023-10-30 15:57   ` Jan Beulich
2023-10-23  7:22 ` [XEN PATCH 4/8] x86/smp: " Federico Serafini
2023-10-30 15:58   ` Jan Beulich
2023-10-23  7:23 ` [XEN PATCH 5/8] x86/pci: " Federico Serafini
2023-10-30 15:58   ` Jan Beulich
2023-10-23  7:23 ` [XEN PATCH 6/8] x86/physdev: address violations " Federico Serafini
2023-10-30 16:01   ` Jan Beulich
2023-10-23  7:23 ` [XEN PATCH 7/8] x86/platform_hypercall: " Federico Serafini
2023-10-30 16:06   ` Jan Beulich
2023-10-23  7:23 ` Federico Serafini [this message]
2023-10-30 16:07   ` [XEN PATCH 8/8] x86/sysctl: address a violation " Jan Beulich

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=06004789b921a35632bd7126bf022e20c15052ef.1698045505.git.federico.serafini@bugseng.com \
    --to=federico.serafini@bugseng.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=consulting@bugseng.com \
    --cc=jbeulich@suse.com \
    --cc=roger.pau@citrix.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /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.