[dpdk-dev] [PATCH v3] net/mlx5: fix compilation issue with gcc pragma
Ferruh Yigit
ferruh.yigit at intel.com
Wed Oct 2 18:19:37 CEST 2019
On 10/2/2019 1:36 PM, Viacheslav Ovsiienko wrote:
> The GCC compiler might generate warning or error if
> format parameter of fscanf is not literal. This was
> suppressed with GCC specific pragms. Some compilers
> (i.e Intel icc) do not recognize GCC diagnostic
> pragma, so the code was refactored with stringification,
> pragmas are not needed anymore.
>
> Fixes: a46a42b5cd03 ("net/mlx5: add VF LAG mode bonding device recognition")
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
Squashed into relevant commit in next-net, thanks.
More information about the dev
mailing list