RE: [PATCH 2/2] tools: hv: fcopy: set 'error' in case an unknown operation was requested

2018-09-17 Thread KY Srinivasan
verproject.org; vkuznets > Subject: Re: [PATCH 2/2] tools: hv: fcopy: set 'error' in case an unknown > operation was requested > > On Mon, Sep 17, 2018 at 02:16:48PM +, KY Srinivasan wrote: > > > > > > > -Original Message- > > > From: Gre

Re: [PATCH 2/2] tools: hv: fcopy: set 'error' in case an unknown operation was requested

2018-09-17 Thread Greg KH
t; > o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; Stephen > > Hemminger ; Michael Kelley (EOSG) > > ; vkuznets > > Subject: Re: [PATCH 2/2] tools: hv: fcopy: set 'error' in case an unknown > > operation was requested > > > > On Mon, Sep

RE: [PATCH 2/2] tools: hv: fcopy: set 'error' in case an unknown operation was requested

2018-09-17 Thread KY Srinivasan
y (EOSG) > ; vkuznets > Subject: Re: [PATCH 2/2] tools: hv: fcopy: set 'error' in case an unknown > operation was requested > > On Mon, Sep 17, 2018 at 04:14:55AM +, k...@linuxonhyperv.com wrote: > > From: Vitaly Kuznetsov > > > > 'error' var

Re: [PATCH 2/2] tools: hv: fcopy: set 'error' in case an unknown operation was requested

2018-09-16 Thread Greg KH
On Mon, Sep 17, 2018 at 04:14:55AM +, k...@linuxonhyperv.com wrote: > From: Vitaly Kuznetsov > > 'error' variable is left uninitialized in case we see an unknown operation. > As we don't immediately return and proceed to pwrite() we need to set it > to something, HV_E_FAIL sounds good enough.

[PATCH 2/2] tools: hv: fcopy: set 'error' in case an unknown operation was requested

2018-09-16 Thread kys
From: Vitaly Kuznetsov 'error' variable is left uninitialized in case we see an unknown operation. As we don't immediately return and proceed to pwrite() we need to set it to something, HV_E_FAIL sounds good enough. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- tools/hv/