Re: [PATCH] crypto: chtls - use 64-bit arithmetic instead of 32-bit

2018-07-13 Thread Herbert Xu
On Wed, Jul 04, 2018 at 11:37:20AM -0500, Gustavo A. R. Silva wrote: > Cast *val* to u64 in order to give the compiler complete > information about the proper arithmetic to use. > > Notice that such variable is used in a context that expects an > expression of type u64 (64 bits, unsigned) and the

[PATCH] crypto: chtls - use 64-bit arithmetic instead of 32-bit

2018-07-04 Thread Gustavo A. R. Silva
Cast *val* to u64 in order to give the compiler complete information about the proper arithmetic to use. Notice that such variable 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 arithmetic: val