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 of

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 i