commit | 8c71fa88f7778eb093ee22cba13a3813a82113ad | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Dec 05 17:38:43 2017 +0300 |
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | Wed Dec 06 09:44:43 2017 -0500 |
tree | 4a5396a6028cbb51a5caf2397f61f6853a30f5da | |
parent | 646d944c2ef5a3b298c4e150494c71b9272d8b47 [diff] |
xen/pvcalls: check for xenbus_read() errors Smatch complains that "len" is uninitialized if xenbus_read() fails so let's add some error handling. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Juergen Gross <jgross@suse.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>