Re: [PATCH] drivers_net: use 64-bit shift and avoid signed/unsigned mismatch

2025-01-06 Thread Andre Muezerie
On Mon, Jan 06, 2025 at 10:54:43AM +, Bruce Richardson wrote: > On Thu, Dec 26, 2024 at 12:59:30PM -0800, Andre Muezerie wrote: > > This patch avoids warnings like the ones below emitted by MSVC: > > > > 1) > > ../drivers/net/ice/base/ice_flg_rd.c(71): warning C4334: '<<': > > result of 32

Re: [PATCH] drivers_net: use 64-bit shift and avoid signed/unsigned mismatch

2025-01-06 Thread Bruce Richardson
On Thu, Dec 26, 2024 at 12:59:30PM -0800, Andre Muezerie wrote: > This patch avoids warnings like the ones below emitted by MSVC: > > 1) > ../drivers/net/ice/base/ice_flg_rd.c(71): warning C4334: '<<': > result of 32-bit shift implicitly converted to 64 bits > (was 64-bit shift intended?)

[PATCH] drivers_net: use 64-bit shift and avoid signed/unsigned mismatch

2024-12-26 Thread Andre Muezerie
This patch avoids warnings like the ones below emitted by MSVC: 1) ../drivers/net/ice/base/ice_flg_rd.c(71): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) 2) ../drivers/net/ice/ice_dcf_sched.c(177): warning C4018: '>=': signed