[Xen-devel] [PATCH] xen/9pfs: initialize len to 0 to detect xenbus_read errors

2017-04-13 Thread Stefano Stabellini
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 CC: dan.carpen...@oracle.com CC: jgr...@suse.com CC: boris.ostrov...@oracle.com CC: Eric Van Hensbergen CC: Ron Minnich CC: Latchesa

Re: [Xen-devel] [PATCH] xen/9pfs: initialize len to 0 to detect xenbus_read errors

2017-04-18 Thread Juergen Gross
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 > CC: dan.carpen...@oracle.com > CC: jgr...@suse.com > CC: boris.ostrov...@oracle