Re: mmotm 2017-11-10-15-56 uploaded (lib/test_find_bit.c)

From: Randy Dunlap
Date: Mon Nov 13 2017 - 19:26:29 EST


On 11/13/2017 04:17 PM, Andrew Morton wrote:
> On Fri, 10 Nov 2017 18:00:57 -0800 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
>> On 11/10/2017 03:56 PM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
>>> The mm-of-the-moment snapshot 2017-11-10-15-56 has been uploaded to
>>>
>>> http://www.ozlabs.org/~akpm/mmotm/
>>>
>>> mmotm-readme.txt says
>>>
>>> README for mm-of-the-moment:
>>>
>>> http://www.ozlabs.org/~akpm/mmotm/
>>>
>>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
>>> more than once a week.
>>
>> on i386:
>>
>> ../lib/test_find_bit.c:54:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=]
>> ../lib/test_find_bit.c:68:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=]
>> ../lib/test_find_bit.c:82:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=]
>> ../lib/test_find_bit.c:102:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=]
>
> typecasts, I guess? We don't seem to have a %p thingy for cycles_t?

Or the patch that Arnd sent to you that uses %ull.


--
~Randy