]> Git Repo - linux.git/commit
xen/pvcalls: check for xenbus_read() errors
authorDan Carpenter <[email protected]>
Tue, 5 Dec 2017 14:38:43 +0000 (17:38 +0300)
committerBoris Ostrovsky <[email protected]>
Wed, 6 Dec 2017 14:44:43 +0000 (09:44 -0500)
commit8c71fa88f7778eb093ee22cba13a3813a82113ad
tree4a5396a6028cbb51a5caf2397f61f6853a30f5da
parent646d944c2ef5a3b298c4e150494c71b9272d8b47
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 <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
drivers/xen/pvcalls-front.c
This page took 0.04438 seconds and 4 git commands to generate.