regex/mlx5: fix type of setup constants
authorMichael Baum <michaelba@nvidia.com>
Wed, 18 Nov 2020 17:00:10 +0000 (17:00 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 22 Nov 2020 14:05:08 +0000 (15:05 +0100)
commit30d604bb15042208896cb3a924b49247adb9f2ed
tree553b0696ca6a1b8896867c17eb223cd2c07c924a
parent3fed64d0e4ed841d091b01a26fae209df8e6ce86
regex/mlx5: fix type of setup constants

The constant representing the size of the metadata is defined as a
regular number (32-bit signed), even though all of its uses request an
unsigned int variable.
Similarly the constant representing the maximal output is also defined
as a regular number, even though all of its uses request an unsigned int
variable.

Change the type of the above constants to unsigned.

Fixes: 5f41b66d12cd ("regex/mlx5: setup fast path")
Cc: stable@dpdk.org
Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
drivers/regex/mlx5/mlx5_regex_fastpath.c