Re: [PATCH v2] rcu: shift 64-bit constant to avoid implicit 32 to 64 bit conversion

2024-11-15 Thread Andre Muezerie
On Fri, Nov 15, 2024 at 03:21:42PM +0100, David Marchand wrote: > On Wed, Nov 13, 2024 at 5:24 PM Andre Muezerie > wrote: > > > > ../lib/rcu/rte_rcu_qsbr.c(101): warning C4334: '<<': result of 32-bit > > shift implicitly converted to 64 bits (was 64-bit shift intended?) > > ../lib/rcu/rte_rcu_qsb

Re: [PATCH v2] rcu: shift 64-bit constant to avoid implicit 32 to 64 bit conversion

2024-11-15 Thread David Marchand
On Wed, Nov 13, 2024 at 5:24 PM Andre Muezerie wrote: > > ../lib/rcu/rte_rcu_qsbr.c(101): warning C4334: '<<': result of 32-bit > shift implicitly converted to 64 bits (was 64-bit shift intended?) > ../lib/rcu/rte_rcu_qsbr.c(107): warning C4334: '<<': result of 32-bit > shift implicitly converte

[PATCH v2] rcu: shift 64-bit constant to avoid implicit 32 to 64 bit conversion

2024-11-13 Thread Andre Muezerie
../lib/rcu/rte_rcu_qsbr.c(101): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ../lib/rcu/rte_rcu_qsbr.c(107): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ../lib/rcu/rte_rcu_qsbr