xenbus: check return value of xenbus_scanf()
authorJan Beulich <JBeulich@suse.com>
Mon, 24 Oct 2016 15:05:18 +0000 (09:05 -0600)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 24 Oct 2016 15:08:21 +0000 (16:08 +0100)
commitc251f15c7dbf2cb72e7b2b282020b41f4e4d3665
tree955477018fb6dd653e31a755e9e19243136e1e4e
parente1e5b3ff41983f506c3cbcf123fe7d682f61a8f1
xenbus: check return value of xenbus_scanf()

Don't ignore errors here: Set backend state to unknown when
unsuccessful.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xenbus/xenbus_probe_frontend.c