[PATCH] common/mlx5: fix unsigned signed mismatch warning

Dariusz Sosnowski dsosnowski at nvidia.com
Tue Apr 16 12:04:57 CEST 2024


> -----Original Message-----
> From: Tyler Retzlaff <roretzla at linux.microsoft.com>
> Sent: Tuesday, April 16, 2024 01:10
> To: dev at dpdk.org
> Cc: Dariusz Sosnowski <dsosnowski at nvidia.com>; Dekel Peled
> <dekelp at nvidia.com>; Matan Azrad <matan at nvidia.com>; Ori Kam
> <orika at nvidia.com>; Suanming Mou <suanmingm at nvidia.com>; Slava
> Ovsiienko <viacheslavo at nvidia.com>; Tyler Retzlaff
> <roretzla at linux.microsoft.com>; dekelp at mellanox.com; Matan Azrad
> <matan at mellanox.com>; stable at dpdk.org
> Subject: [PATCH] common/mlx5: fix unsigned signed mismatch warning
> 
> Use unsigned int for 2 loop indexes that are being compared against an
> unsigned int struct field to avoid signed/unsigned mismatch warning.
> 
> Fixes: 718d166e5504 ("net/mlx5: create advanced RxQ table via DevX")
> Fixes: e1da60a8a6e9 ("common/mlx5: add DevX command to modify RQT")
> Cc: dekelp at mellanox.com
> Cc: matan at mellanox.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>

Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Thanks,
Dariusz Sosnowski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 15178 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/stable/attachments/20240416/ead0cf2c/attachment.bin>


More information about the stable mailing list