Skip to content

Commit

Permalink
xen/xenbus: Fixed indentation error in switch case
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lisa Nguyen authored and Konrad Rzeszutek Wilk committed May 20, 2013
1 parent 37d46e1 commit d7e5075
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions drivers/xen/xenbus/xenbus_dev_backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit d7e5075

Please sign in to comment.