Re: [PATCH v2] drm/pl111: Use 64-bit arithmetic instead of 32-bit

2018-07-18 Thread Gustavo A. R. Silva
Hi Eric, On 07/17/2018 01:40 PM, Eric Anholt wrote: > "Gustavo A. R. Silva" writes: > >> Add suffix ULL to constant 1000 in order to give the compiler complete >> information about the proper arithmetic to use. >> >> Notice that such constant is used in a context that expects an >> expression

Re: [PATCH v2] drm/pl111: Use 64-bit arithmetic instead of 32-bit

2018-07-17 Thread Eric Anholt
"Gustavo A. R. Silva" writes: > Add suffix ULL to constant 1000 in order to give the compiler complete > information about the proper arithmetic to use. > > Notice that such constant is used in a context that expects an > expression of type u64 (64 bits, unsigned) and the following > expression

[PATCH v2] drm/pl111: Use 64-bit arithmetic instead of 32-bit

2018-07-05 Thread Gustavo A. R. Silva
Add suffix ULL to constant 1000 in order to give the compiler complete information about the proper arithmetic to use. Notice that such constant is used in a context that expects an expression of type u64 (64 bits, unsigned) and the following expression is currently being evaluated using 32-bit