Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1438232 > unrolled thread

[PATCH] xen/mcelog: eliminate redundant setting of interface version

Started by"Jan Beulich" <JBeulich@suse.com>
First post2016-07-07 09:40 +0200
Last post2016-07-07 09:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] xen/mcelog: eliminate redundant setting of interface  version "Jan Beulich" <JBeulich@suse.com> - 2016-07-07 09:40 +0200

#1438232 — [PATCH] xen/mcelog: eliminate redundant setting of interface version

From"Jan Beulich" <JBeulich@suse.com>
Date2016-07-07 09:40 +0200
Subject[PATCH] xen/mcelog: eliminate redundant setting of interface version
Message-ID<rSc4G-3S8-21@gated-at.bofh.it>
This already gets done in HYPERVISOR_mca().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
 drivers/xen/mcelog.c |    2 --
 1 file changed, 2 deletions(-)

--- 4.7-rc6-xen.orig/drivers/xen/mcelog.c
+++ 4.7-rc6-xen/drivers/xen/mcelog.c
@@ -288,7 +288,6 @@ static int mc_queue_handle(uint32_t flag
 	int ret = 0;
 
 	mc_op.cmd = XEN_MC_fetch;
-	mc_op.interface_version = XEN_MCA_INTERFACE_VERSION;
 	set_xen_guest_handle(mc_op.u.mc_fetch.data, &g_mi);
 	do {
 		mc_op.u.mc_fetch.flags = flags;
@@ -358,7 +357,6 @@ static int bind_virq_for_mce(void)
 
 	/* Fetch physical CPU Numbers */
 	mc_op.cmd = XEN_MC_physcpuinfo;
-	mc_op.interface_version = XEN_MCA_INTERFACE_VERSION;
 	set_xen_guest_handle(mc_op.u.mc_physcpuinfo.info, g_physinfo);
 	ret = HYPERVISOR_mca(&mc_op);
 	if (ret) {

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web