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

2024-11-12 Thread Morten Brørup
> From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > Sent: Tuesday, 12 November 2024 23.03 > > ../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: '<<'

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

2024-11-12 Thread Honnappa Nagarahalli
Thank you Andre for the patch. It looks good overall. > On Nov 12, 2024, at 4:02 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 C

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

2024-11-12 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