Frederic Weisbecker writes:
> On Tue, Dec 17, 2013 at 01:23:08PM -0800, Kevin Hilman wrote:
>> The conversion of the max deferment from usecs to nsecs can easily
>> overflow on platforms where a long is 32-bits. To fix, cast the usecs
>> value to u64 before multiplying by NSECS_PER_USEC.
>>
>>
On Tue, Dec 17, 2013 at 01:23:08PM -0800, Kevin Hilman wrote:
> The conversion of the max deferment from usecs to nsecs can easily
> overflow on platforms where a long is 32-bits. To fix, cast the usecs
> value to u64 before multiplying by NSECS_PER_USEC.
>
> This was discovered on 32-bit ARM pla
The conversion of the max deferment from usecs to nsecs can easily
overflow on platforms where a long is 32-bits. To fix, cast the usecs
value to u64 before multiplying by NSECS_PER_USEC.
This was discovered on 32-bit ARM platform when extending the max
deferment value.
Cc: Frederic Weisbecker
The conversion of the max deferment from usecs to nsecs can easily
overflow on platforms where a long is 32-bits. To fix, cast the usecs
value to u64 before multiplying by NSECS_PER_USEC.
This was discovered on 32-bit ARM platform when extending the max
deferment value.
Cc: Frederic Weisbecker
On Tue, Jun 18, 2013 at 04:58:29PM -0700, Kevin Hilman wrote:
> The conversion of the max deferment from usecs to nsecs can easily
> overflow on platforms where a long is 32-bits. To fix, cast the usecs
> value to u64 before multiplying by NSECS_PER_USEC.
>
> This was discovered on 32-bit ARM pla
The conversion of the max deferment from usecs to nsecs can easily
overflow on platforms where a long is 32-bits. To fix, cast the usecs
value to u64 before multiplying by NSECS_PER_USEC.
This was discovered on 32-bit ARM platform when extending the max
deferment value.
Cc: Frederic Weisbecker
6 matches
Mail list logo