[PATCH v3 01/10] net/ice/base: fix type conversion

Bruce Richardson bruce.richardson at intel.com
Tue May 27 18:54:07 CEST 2025


On Tue, May 27, 2025 at 01:17:20PM +0000, Dhanya Pillai wrote:
> From: Waldemar Dworakowski <waldemar.dworakowski at intel.com>
> 
> In ice_sched_move_vsi_to_agg() int16 is used to pass 8 bit value
> what causes compiler warning:
> warning C4244: 'function' : conversion from 'UINT16' to 'UINT8',
> possible loss of data
> Changed variable type to avoid conversion
> 
> Fixes: 29a0c11489ef ("net/ice/base: clean code")

Actually, I think one of my changes broke it, since that was when the 'u8 i' was
changed to a u16.

Fixes: aff06930682c ("net/ice/base: remove 255 limit on sched child nodes")

> Cc: stable at dpdk.org
> Signed-off-by: Waldemar Dworakowski <waldemar.dworakowski at intel.com>
> Signed-off-by: Dhanya Pillai <dhanya.r.pillai at intel.com>
> ---



More information about the dev mailing list