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@jp.fujitsu.com>
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),
(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);
/* FIXME: should we restore the handles? */