Re: [PATCH] net/hns3: fix build warning

2023-04-07 Thread Ferruh Yigit
On 4/4/2023 9:22 AM, Dongdong Liu wrote: > Hi Jerin > > Many thanks for fixing the warning. > On 2023/4/4 14:55, jer...@marvell.com wrote: >> From: Jerin Jacob >> >> aarch64 gcc 12.2.0 build complain with below warning[1]. >> Move the new_link initialization upwards to fix the warning. >> >> Comp

Re: [PATCH] net/hns3: fix build warning

2023-04-04 Thread Dongdong Liu
Hi Jerin Many thanks for fixing the warning. On 2023/4/4 14:55, jer...@marvell.com wrote: From: Jerin Jacob aarch64 gcc 12.2.0 build complain with below warning[1]. Move the new_link initialization upwards to fix the warning. Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_et

[PATCH] net/hns3: fix build warning

2023-04-03 Thread jerinj
From: Jerin Jacob aarch64 gcc 12.2.0 build complain with below warning[1]. Move the new_link initialization upwards to fix the warning. Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o drivers/net/hns3/hns3_ethdev.c: In function ‘hns3_dev_link_update’: drivers/net/hns3