|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [linux-2.6.18-xen] ia64, xencomm: fix 1018:b7eb9756e522
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1276245445 -3600
# Node ID a24d8631a0007dcb31b128452c6162ea796b05aa
# 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
Since 1018:b7eb9756e522 inserted lines in outside of a switch
statement. This patch corrects it.
Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
---
arch/ia64/xen/xcom_privcmd.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff -r 8af51a7a64c7 -r a24d8631a000 arch/ia64/xen/xcom_privcmd.c
--- a/arch/ia64/xen/xcom_privcmd.c Mon Jun 07 06:57:35 2010 +0100
+++ b/arch/ia64/xen/xcom_privcmd.c Fri Jun 11 09:37:25 2010 +0100
@@ -282,16 +282,6 @@ xencomm_privcmd_sysctl(privcmd_hypercall
break;
}
- 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_hypercall
set_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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [linux-2.6.18-xen] ia64, xencomm: fix 1018:b7eb9756e522,
Xen patchbot-linux-2.6.18-xen <=
|
|
|
|
|