From: Hongbo Zheng Date: Wed, 31 Mar 2021 10:01:44 +0000 (+0800) Subject: net/hns3: fix code style X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3f3fac61bdc207de544b4a54fe8f27f7ce4f6cc1;p=dpdk.git net/hns3: fix code style Add one space before the left brace to solve the static warning. Fixes: 63e05f19b82b ("net/hns3: support Rx descriptor status query") Signed-off-by: Hongbo Zheng Signed-off-by: Min Hu (Connor) --- diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c index 2b80ba4c11..ebf7c8277c 100644 --- a/drivers/net/hns3/hns3_rxtx.c +++ b/drivers/net/hns3/hns3_rxtx.c @@ -4477,7 +4477,7 @@ hns3_dev_rx_descriptor_status(void *rx_queue, uint16_t offset) if (offset >= rxq->nb_rx_desc - rxq->rx_free_hold) return RTE_ETH_RX_DESC_UNAVAIL; } else if (dev->rx_pkt_burst == hns3_recv_pkts_vec || - dev->rx_pkt_burst == hns3_recv_pkts_vec_sve){ + dev->rx_pkt_burst == hns3_recv_pkts_vec_sve) { if (offset >= rxq->nb_rx_desc - rxq->rx_rearm_nb) return RTE_ETH_RX_DESC_UNAVAIL; } else {