Re: [dpdk-dev] [PATCH] net/hns3: fix debug build
From: Min Hu (Connor) <hidden>
Date: 2021-05-08 00:47:55
From: Min Hu (Connor) <hidden>
Date: 2021-05-08 00:47:55
在 2021/5/7 20:25, David Marchand 写道:
On Fri, May 7, 2021 at 2:20 PM Thomas Monjalon [off-list ref] wrote:quoted
The variable "dev" is not used in hns3_get_tx_prep_needed() in the case of RTE_LIBRTE_ETHDEV_DEBUG: drivers/net/hns3/hns3_rxtx.c:4213:45: error: unused parameter ‘dev’Fixes: d7ec2c076579 ("net/hns3: select Tx prepare based on Tx offload")
Well, sorry for late reply, thanks Thomas and David.
quoted
Reported-by: David Marchand <redacted> Signed-off-by: Thomas Monjalon <redacted>Acked-by: David Marchand <redacted>