[dpdk-dev] [PATCH] net/mlx5: fix icc compilation issue with type qualifier
Viacheslav Ovsiienko
viacheslavo at mellanox.com
Mon Jul 22 20:26:57 CEST 2019
This fixes icc warning "type qualifier is meaningless on cast type".
[1] http://patches.dpdk.org/patch/56810/
Fixes: aa0d2b1bec2d ("net/mlx5: introduce Tx burst routine template")
Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
---
drivers/net/mlx5/mlx5_rxtx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c
index 3872966..007df8f 100644
--- a/drivers/net/mlx5/mlx5_rxtx.c
+++ b/drivers/net/mlx5/mlx5_rxtx.c
@@ -79,7 +79,7 @@ enum mlx5_txcmp_code {
struct rte_mbuf **pkts, \
uint16_t pkts_n) \
{ \
- return mlx5_tx_burst_tmpl((struct mlx5_txq_data *restrict)txq, \
+ return mlx5_tx_burst_tmpl((struct mlx5_txq_data *)txq, \
pkts, pkts_n, (olx)); \
}
--
1.8.3.1
More information about the dev
mailing list