Re: [PATCH v2 8/8] net/sfc: fix calloc parameters

2024-01-24 Thread Andrew Rybchenko
On 1/24/24 22:02, Morten Brørup wrote: From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] Sent: Wednesday, 24 January 2024 19.54 gcc [1] generates warning [2] about rte_calloc usage, because rte_calloc parameter order is wrong, fixing it by replacing parameters. [1] gcc (GCC) 14.0.1 20240124 (exp

RE: [PATCH v2 8/8] net/sfc: fix calloc parameters

2024-01-24 Thread Morten Brørup
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] > Sent: Wednesday, 24 January 2024 19.54 > > gcc [1] generates warning [2] about rte_calloc usage, because > rte_calloc parameter order is wrong, fixing it by replacing parameters. > > [1] > gcc (GCC) 14.0.1 20240124 (experimental) > > [2] > Com

[PATCH v2 8/8] net/sfc: fix calloc parameters

2024-01-24 Thread Ferruh Yigit
gcc [1] generates warning [2] about rte_calloc usage, because rte_calloc parameter order is wrong, fixing it by replacing parameters. [1] gcc (GCC) 14.0.1 20240124 (experimental) [2] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mae.c.o ../net/sfc/sfc_mae.c: In function ‘sfc_mae_a