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

2025-02-05 Thread Andre Muezerie
On Wed, Feb 05, 2025 at 10:35:25AM -0800, Stephen Hemminger wrote: > On Tue, 14 Jan 2025 13:05:02 -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 v3] drivers/net: use 64-bit shift and avoid signed/unsigned mismatch

2025-02-05 Thread Stephen Hemminger
On Tue, 14 Jan 2025 13:05:02 -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 v3] drivers/net: use 64-bit shift and avoid signed/unsigned mismatch

2025-01-14 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