summaryrefslogtreecommitdiffstats
path: root/kernel/padata.c
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2017-04-13 10:57:56 -0700
committerJuergen Gross <jgross@suse.com>2017-05-02 11:13:23 +0200
commit31d47266c6e599d76e84c9809f9ea2735d9cda5b (patch)
tree675cd7a2b5f9af5d922aa9f1e50f2ff65f9782c9 /kernel/padata.c
parent29985b09613ba106a1ed0496988636d288600515 (diff)
downloadlinux-31d47266c6e599d76e84c9809f9ea2735d9cda5b.tar.gz
linux-31d47266c6e599d76e84c9809f9ea2735d9cda5b.tar.bz2
linux-31d47266c6e599d76e84c9809f9ea2735d9cda5b.zip
xen/9pfs: initialize len to 0 to detect xenbus_read errors
In order to use "len" to check for xenbus_read errors properly, we need to initialize len to 0 before passing it to xenbus_read. CC: dan.carpenter@oracle.com CC: jgross@suse.com CC: boris.ostrovsky@oracle.com CC: Eric Van Hensbergen <ericvh@gmail.com> CC: Ron Minnich <rminnich@sandia.gov> CC: Latchesar Ionkov <lucho@ionkov.net> CC: v9fs-developer@lists.sourceforge.net Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions