I didn't submit there for master because I cannot build odp-mppa with master 
yet (trying to merge monarch first).
And I'm pretty sure there'll be new patches like this to apply on master anyway.

Nicolas

Le 12/05/2016 à 08:21 PM, Mike Holmes a écrit :
> This series also applies to master with 3 way, it should go there first I
> think
>
> On 5 December 2016 at 11:33, Nicolas Morey-Chaisemartin <nmo...@kalray.eu>
> wrote:
>
>> Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu>
>>
> Reviewed-by: Mike Holmes <mike.hol...@linaro.org>
>
>
>> ---
>>  test/validation/pktio/pktio.c | 10 +++++++---
>>  1 file changed, 7 insertions(+), 3 deletions(-)
>>
>> diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c
>> index d53a419..4e93e9b 100644
>> --- a/test/validation/pktio/pktio.c
>> +++ b/test/validation/pktio/pktio.c
>> @@ -207,7 +207,8 @@ static uint32_t pktio_pkt_seq(odp_packet_t pkt)
>>         }
>>
>>         if (head.magic != TEST_SEQ_MAGIC) {
>> -               fprintf(stderr, "error: header magic invalid %u\n",
>> head.magic);
>> +               fprintf(stderr, "error: header magic invalid %" PRIu32
>> "\n",
>> +                       head.magic);
>>                 return TEST_SEQ_INVALID;
>>         }
>>
>> @@ -223,11 +224,14 @@ static uint32_t pktio_pkt_seq(odp_packet_t pkt)
>>                         seq = head.seq;
>>                         CU_ASSERT(seq != TEST_SEQ_INVALID);
>>                 } else {
>> -                       fprintf(stderr, "error: tail magic invalid %u\n",
>> +                       fprintf(stderr,
>> +                               "error: tail magic invalid %" PRIu32 "\n",
>>                                 tail.magic);
>>                 }
>>         } else {
>> -               fprintf(stderr, "error: packet length invalid: %u (%u)\n",
>> +               fprintf(stderr,
>> +                       "error: packet length invalid: "
>> +                       "%" PRIu32 "(%" PRIu32 ")\n",
>>                         odp_packet_len(pkt), packet_len);
>>         }
>>
>> --
>> 2.10.1.4.g0ffc436
>>
>>
>>
>

Reply via email to