Re: [Qemu-devel] [PATCH 1/2] tests: Use real size for iov tests

2017-08-30 Thread Juan Quintela
Thomas Huth wrote: > On 23.08.2017 10:39, Juan Quintela wrote: >> We were using -1 instead of the real size because the functions check >> what is bigger, size in bytes or the size of the iov. Recent gcc's >> barf at this. >> >> Signed-off-by: Juan Quintela >> --- >> tests/test-iov.c | 8 -

Re: [Qemu-devel] [PATCH 1/2] tests: Use real size for iov tests

2017-08-30 Thread Juan Quintela
Thomas Huth wrote: > On 23.08.2017 10:39, Juan Quintela wrote: >> We were using -1 instead of the real size because the functions check >> what is bigger, size in bytes or the size of the iov. Recent gcc's >> barf at this. >> >> Signed-off-by: Juan Quintela >> --- >> tests/test-iov.c | 8 -

Re: [Qemu-devel] [PATCH 1/2] tests: Use real size for iov tests

2017-08-28 Thread Thomas Huth
On 23.08.2017 10:39, Juan Quintela wrote: > We were using -1 instead of the real size because the functions check > what is bigger, size in bytes or the size of the iov. Recent gcc's > barf at this. > > Signed-off-by: Juan Quintela > --- > tests/test-iov.c | 8 > 1 file changed, 4 inse

Re: [Qemu-devel] [PATCH 1/2] tests: Use real size for iov tests

2017-08-23 Thread Juan Quintela
Peter Xu wrote: > On Wed, Aug 23, 2017 at 10:39:00AM +0200, Juan Quintela wrote: >> We were using -1 instead of the real size because the functions check >> what is bigger, size in bytes or the size of the iov. Recent gcc's >> barf at this. >> >> Signed-off-by: Juan Quintela >> --- >> tests/te

Re: [Qemu-devel] [PATCH 1/2] tests: Use real size for iov tests

2017-08-23 Thread Peter Xu
On Wed, Aug 23, 2017 at 10:39:00AM +0200, Juan Quintela wrote: > We were using -1 instead of the real size because the functions check > what is bigger, size in bytes or the size of the iov. Recent gcc's > barf at this. > > Signed-off-by: Juan Quintela > --- > tests/test-iov.c | 8 > 1

[Qemu-devel] [PATCH 1/2] tests: Use real size for iov tests

2017-08-23 Thread Juan Quintela
We were using -1 instead of the real size because the functions check what is bigger, size in bytes or the size of the iov. Recent gcc's barf at this. Signed-off-by: Juan Quintela --- tests/test-iov.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test-iov.c b