net/mlx5: fix icc compilation issue with type qualifier
Checks
Commit Message
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@mellanox.com>
---
drivers/net/mlx5/mlx5_rxtx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 7/22/2019 7:26 PM, Viacheslav Ovsiienko wrote:
> 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@mellanox.com>
Squashed into relevant commit in next-net, thanks.
Thanks for the prompt update.
@@ -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)); \
}