[PATCH v5] net/ark: fix index arithmetic bug
    Ferruh Yigit 
    ferruh.yigit at amd.com
       
    Fri Jul 19 00:05:22 CEST 2024
    
    
  
On 7/17/2024 9:38 PM, Ed Czeck wrote:
> Behavior for signed integer overflow is not defined
> which can causes undesired behavior at values near
> max and min bounds.
> The used of unsigned is defined as to use modulo arithmetic
> which is the desired behavior.
> This patch replaces int32_t with uint32_t except for
> necessary casts.
> 
> Fixes: 9ee9e0d3b85e ("net/ark: update to reflect FPGA updates")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ed Czeck <ed.czeck at atomicrules.com>
>
Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>
Applied to dpdk-next-net/main, thanks.
    
    
More information about the stable
mailing list