diff options
author | Jan Beulich <JBeulich@suse.com> | 2017-10-07 22:36:53 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-08 10:08:35 +0100 |
commit | b469d5c393c24a3b1edb3c88e61d2d8c1bc0a38a (patch) | |
tree | 61e5bd679590dd9600db2d89a877e9fa34781d5c /drivers/xen/privcmd.c | |
parent | b1a38567a9ed04d0c235023d5b2a70cce1a3bc4c (diff) |
xen/manage: correct return value check on xenbus_scanf()
[ Upstream commit 4fed1b125eb6252bde478665fc05d4819f774fa8 ]
A negative return value indicates an error; in fact the function at
present won't ever return zero.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/xen/privcmd.c')
0 files changed, 0 insertions, 0 deletions