summaryrefslogtreecommitdiffstats
path: root/drivers/video/xen-fbfront.c
diff options
context:
space:
mode:
authorNoboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>2009-10-13 23:22:29 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2010-10-18 16:49:36 +0200
commitb78c9512563780d86a178f11b648bcf73b8d87ec (patch)
treebc2d239ab1a0e6bafe004a5283228b710c1c5f55 /drivers/video/xen-fbfront.c
parentxenbus: Xen paravirtualised PCI hotplug support. (diff)
downloadlinux-b78c9512563780d86a178f11b648bcf73b8d87ec.tar.xz
linux-b78c9512563780d86a178f11b648bcf73b8d87ec.zip
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/video/xen-fbfront.c')
-rw-r--r--drivers/video/xen-fbfront.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c
index 7c7f42a12796..428d273be727 100644
--- a/drivers/video/xen-fbfront.c
+++ b/drivers/video/xen-fbfront.c
@@ -631,6 +631,8 @@ static void xenfb_backend_changed(struct xenbus_device *dev,
switch (backend_state) {
case XenbusStateInitialising:
case XenbusStateInitialised:
+ case XenbusStateReconfiguring:
+ case XenbusStateReconfigured:
case XenbusStateUnknown:
case XenbusStateClosed:
break;