Re: [dpdk-dev] [PATCH v3] net/mlx5: fix compilation issue with gcc pragma

2019-10-02 Thread Ferruh Yigit
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

[dpdk-dev] [PATCH v3] net/mlx5: fix compilation issue with gcc pragma

2019-10-02 Thread Viacheslav Ovsiienko
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