summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorNoboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>2009-10-14 01:22:29 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2010-10-18 18:49:36 +0400
commitb78c9512563780d86a178f11b648bcf73b8d87ec (patch)
treebc2d239ab1a0e6bafe004a5283228b710c1c5f55 /drivers/block
parent89afb6e46a0f72e0e5c51ef44aa900b74681664b (diff)
downloadlinux-b78c9512563780d86a178f11b648bcf73b8d87ec.tar.xz
xenbus: prevent warnings on unhandled enumeration values
XenbusStateReconfiguring/XenbusStateReconfigured were introduced by c/s 437, but aren't handled in many switch statements. .. also pulled from the linux-2.6-sparse-tree tree. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/xen-blkfront.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index ab735a605cf3..c4e9d817caaa 100644
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -1125,6 +1125,8 @@ static void blkback_changed(struct xenbus_device *dev,
case XenbusStateInitialising:
case XenbusStateInitWait:
case XenbusStateInitialised:
+ case XenbusStateReconfiguring:
+ case XenbusStateReconfigured:
case XenbusStateUnknown:
case XenbusStateClosed:
break;