I think the exception in checkpatch only allows unsegmented strings to overflow 
80 cols.
Because the string is split with the PRIx macro, the exception is not valid 
anymore. I still wasn't sure which way you prefered this :)

On 08/11/2015 11:50 AM, Maxim Uvarov wrote:
> Hello Nicolas,
>
> that should be the same as print few lines above. I.e. in one line.
> EXAMPLE_ERROR is added to checkpatch.pl exception but for some reason
> exception does not work and there is still that warning. It will be good if we
> can find some way to fix it.
>
> Thanks,
> Maxim.
>
> On 08/10/15 15:14, Nicolas Morey-Chaisemartin wrote:
>> Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu>
>> ---
>>   example/timer/odp_timer_test.c | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c
>> index 933dc3b..0173099 100644
>> --- a/example/timer/odp_timer_test.c
>> +++ b/example/timer/odp_timer_test.c
>> @@ -173,7 +173,8 @@ static void test_abs_timeouts(int thr, test_globals_t 
>> *gbls)
>>           uint32_t rx_num = odp_atomic_fetch_dec_u32(&gbls->remain);
>>             if (!rx_num)
>> -            EXAMPLE_ABORT("Unexpected timeout received (timer %x, tick 
>> %"PRIu64")\n",
>> +            EXAMPLE_ABORT("Unexpected timeout received (timer %"
>> +                      PRIx32 ", tick %" PRIu64 ")\n",
>>                         ttp->tim, tick);
>>           else if (rx_num > num_workers)
>>               continue;
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> https://lists.linaro.org/mailman/listinfo/lng-odp
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to