Re: [PATCH] ACPI / CPPC: Use 64-bit arithmetic instead of 32-bit

2018-02-08 Thread Gustavo A. R. Silva
On 02/08/2018 03:49 AM, Rafael J. Wysocki wrote: On Wednesday, February 7, 2018 12:36:17 AM CET Gustavo A. R. Silva wrote: Add suffix ULL to constant 500 in order to give the compiler complete information about the proper arithmetic to use. Notice that this constant is used in a context that e

Re: [PATCH] ACPI / CPPC: Use 64-bit arithmetic instead of 32-bit

2018-02-08 Thread Rafael J. Wysocki
On Wednesday, February 7, 2018 12:36:17 AM CET Gustavo A. R. Silva wrote: > Add suffix ULL to constant 500 in order to give the compiler complete > information about the proper arithmetic to use. Notice that this > constant is used in a context that expects an expression of type > u64 (64 bits, uns

[PATCH] ACPI / CPPC: Use 64-bit arithmetic instead of 32-bit

2018-02-06 Thread Gustavo A. R. Silva
Add suffix ULL to constant 500 in order to give the compiler complete information about the proper arithmetic to use. Notice that this constant is used in a context that expects an expression of type u64 (64 bits, unsigned). The expression NUM_RETRIES * cppc_ss->latency at line 578, which at prepr