linux, ia64, xencomm: fix 1018:b7eb9756e522
PATCH 1/1 linux, ia64, xencomm: fix 1018:b7eb9756e522
Hi,
This fixes the following errors:
/arch/ia64/xen/xcom_privcmd.c: In function `xencomm_privcmd_sysctl':
/arch/ia64/xen/xcom_privcmd.c:295: error: case label not within a switch statement /arch/ia64/xen/xcom_privcmd.c:305: error: break statement not within loop or switch
Since 1018:b7eb9756e522 inserted lines in outside of a switch statement. This patch corrects it.
Signature · 1 line
KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1276223038 -32400
# Node ID 5db45807d9b67b749effe8f246316293ee1fcec9 # Parent 8af51a7a64c72b66debc8f312affc37d156649d6 ia64, xencomm: fix 1018:b7eb9756e522
This fixes the following errors:
/arch/ia64/xen/xcom_privcmd.c: In function `xencomm_privcmd_sysctl':
/arch/ia64/xen/xcom_privcmd.c:295: error: case label not within a switch statement /arch/ia64/xen/xcom_privcmd.c:305: error: break statement not within loop or switch
arch/ia64/xen/xcom_privcmd.c +10 -10
@@ -282,16 +282,6 @@ xencomm_privcmd_sysctl(privcmd_hypercallbreak ; } -default : -printk ("%s: unknown sysctl cmd %d\n" , __func__, kern_op.cmd); -return -ENOSYS ; - } - -if (ret) { -/* error mapping the nested pointer */ -return ret; - } -case XEN_SYSCTL_cpupool_op: desc = xencomm_map( xen_guest_handle(kern_op.u.cpupool_op.cpumap.bitmap),
@@ -303,6 +293,16 @@ xencomm_privcmd_sysctl(privcmd_hypercallset_xen_guest_handle (kern_op.u.cpupool_op.cpumap.bitmap, (void *)desc);break ; + +default : +printk ("%s: unknown sysctl cmd %d\n" , __func__, kern_op.cmd); +return -ENOSYS ; + } + +if (ret) { +/* error mapping the nested pointer */ +return ret; + } ret =xencomm_arch_hypercall_sysctl (op_desc);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel