Re: [PATCH] unlz4: always set an error return code on failures

2013-11-11 Thread Jan Beulich
>>> On 11.11.13 at 14:02, Kyungsik Lee wrote: > On Mon, Nov 11, 2013 at 08:35:31AM +, Jan Beulich wrote: >> >>> On 11.11.13 at 03:49, Kyungsik Lee wrote: >> > Hello Jan, >> > >> > Thanks for the patch. >> > >> > On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote: >> >> "ret",

Re: [PATCH] unlz4: always set an error return code on failures

2013-11-11 Thread Kyungsik Lee
On Mon, Nov 11, 2013 at 08:35:31AM +, Jan Beulich wrote: > >>> On 11.11.13 at 03:49, Kyungsik Lee wrote: > > Hello Jan, > > > > Thanks for the patch. > > > > On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote: > >> "ret", being set to -1 early on, gets cleared by the first

Re: [PATCH] unlz4: always set an error return code on failures

2013-11-11 Thread Jan Beulich
>>> On 11.11.13 at 03:49, Kyungsik Lee wrote: > Hello Jan, > > Thanks for the patch. > > On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote: >> "ret", being set to -1 early on, gets cleared by the first invocation >> of lz4_decompress()/lz4_decompress_unknownoutputsize(), and hence >>

Re: [PATCH] unlz4: always set an error return code on failures

2013-11-11 Thread Jan Beulich
On 11.11.13 at 03:49, Kyungsik Lee kyungsik@lge.com wrote: Hello Jan, Thanks for the patch. On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote: ret, being set to -1 early on, gets cleared by the first invocation of lz4_decompress()/lz4_decompress_unknownoutputsize(), and

Re: [PATCH] unlz4: always set an error return code on failures

2013-11-11 Thread Kyungsik Lee
On Mon, Nov 11, 2013 at 08:35:31AM +, Jan Beulich wrote: On 11.11.13 at 03:49, Kyungsik Lee kyungsik@lge.com wrote: Hello Jan, Thanks for the patch. On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote: ret, being set to -1 early on, gets cleared by the first

Re: [PATCH] unlz4: always set an error return code on failures

2013-11-11 Thread Jan Beulich
On 11.11.13 at 14:02, Kyungsik Lee kyungsik@lge.com wrote: On Mon, Nov 11, 2013 at 08:35:31AM +, Jan Beulich wrote: On 11.11.13 at 03:49, Kyungsik Lee kyungsik@lge.com wrote: Hello Jan, Thanks for the patch. On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote:

Re: [PATCH] unlz4: always set an error return code on failures

2013-11-10 Thread Kyungsik Lee
Hello Jan, Thanks for the patch. On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote: > "ret", being set to -1 early on, gets cleared by the first invocation > of lz4_decompress()/lz4_decompress_unknownoutputsize(), and hence > subsequent failures wouldn't be noticed by the caller

Re: [PATCH] unlz4: always set an error return code on failures

2013-11-10 Thread Kyungsik Lee
Hello Jan, Thanks for the patch. On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote: ret, being set to -1 early on, gets cleared by the first invocation of lz4_decompress()/lz4_decompress_unknownoutputsize(), and hence subsequent failures wouldn't be noticed by the caller without