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

2018-01-31 Thread Gustavo A. R. Silva
Hello Ilya, Quoting Ilya Dryomov : On Wed, Jan 31, 2018 at 6:29 AM, Gustavo A. R. Silva wrote: Cast objsetno to u64 in order to give the compiler complete information about the proper arithmetic to use. Notice that this variable is used in a context that expects an expression of type u64 (64

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

2018-01-31 Thread Ilya Dryomov
On Wed, Jan 31, 2018 at 6:29 AM, Gustavo A. R. Silva wrote: > Cast objsetno to u64 in order to give the compiler complete > information about the proper arithmetic to use. Notice > that this variable is used in a context that expects an > expression of type u64 (64 bits, unsigned). > > The express

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

2018-01-30 Thread Gustavo A. R. Silva
Cast objsetno to u64 in order to give the compiler complete information about the proper arithmetic to use. Notice that this variable is used in a context that expects an expression of type u64 (64 bits, unsigned). The expression objsetno * sc + stripepos is currently being evaluated using 32-bit