Re: [PATCH] xen/9pfs: initialize len to 0 to detect xenbus_read errors
From: Juergen Gross
Date: Tue Apr 18 2017 - 04:11:54 EST
On 13/04/17 19:57, Stefano Stabellini wrote:
> 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.
>
> Signed-off-by: Stefano Stabellini <stefano@xxxxxxxxxxx>
> CC: dan.carpenter@xxxxxxxxxx
> CC: jgross@xxxxxxxx
> CC: boris.ostrovsky@xxxxxxxxxx
> CC: Eric Van Hensbergen <ericvh@xxxxxxxxx>
> CC: Ron Minnich <rminnich@xxxxxxxxxx>
> CC: Latchesar Ionkov <lucho@xxxxxxxxxx>
> CC: v9fs-developer@xxxxxxxxxxxxxxxxxxxxx
Committed to xen/tip for-linus-4.12
Thanks,
Juergen