aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus
diff options
context:
space:
mode:
authorLisa Nguyen <lisa@xenapiadmin.com>2013-05-15 23:47:11 -0700
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-05-20 14:14:46 -0400
commitd7e5075044f6c4e85f671cb88f99187509f4a2b0 (patch)
treeae7c4adc519428db553f06b25355e5cde606e29d /drivers/xen/xenbus
parent37d46e152e4c71cd772085912f1c7bf06839f739 (diff)
downloadkernel_goldelico_gta04-d7e5075044f6c4e85f671cb88f99187509f4a2b0.zip
kernel_goldelico_gta04-d7e5075044f6c4e85f671cb88f99187509f4a2b0.tar.gz
kernel_goldelico_gta04-d7e5075044f6c4e85f671cb88f99187509f4a2b0.tar.bz2
xen/xenbus: Fixed indentation error in switch case
Fixed the indentation error in the switch case in xenbus_dev_backend.c Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xenbus')
-rw-r--r--drivers/xen/xenbus/xenbus_dev_backend.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/drivers/xen/xenbus/xenbus_dev_backend.c b/drivers/xen/xenbus/xenbus_dev_backend.c
index d730008..120ae15 100644
--- a/drivers/xen/xenbus/xenbus_dev_backend.c
+++ b/drivers/xen/xenbus/xenbus_dev_backend.c
@@ -76,16 +76,14 @@ static long xenbus_backend_ioctl(struct file *file, unsigned int cmd, unsigned l
return -EPERM;
switch (cmd) {
- case IOCTL_XENBUS_BACKEND_EVTCHN:
- if (xen_store_evtchn > 0)
- return xen_store_evtchn;
- return -ENODEV;
-
- case IOCTL_XENBUS_BACKEND_SETUP:
- return xenbus_alloc(data);
-
- default:
- return -ENOTTY;
+ case IOCTL_XENBUS_BACKEND_EVTCHN:
+ if (xen_store_evtchn > 0)
+ return xen_store_evtchn;
+ return -ENODEV;
+ case IOCTL_XENBUS_BACKEND_SETUP:
+ return xenbus_alloc(data);
+ default:
+ return -ENOTTY;
}
}