Re: [dpdk-dev] [PATCH] net/mlx5: fix 32b compilation

2019-06-12 Thread Yongseok Koh
> On Jun 11, 2019, at 10:32 PM, Shahaf Shuler wrote: > > 32b Compilation output the below error: > > drivers/net/mlx5/mlx5_txq.c: In function 'mlx5_txq_ibv_new': > error: format '%lx' expects argument of type 'long unsigned int', but > argument 8 has type 'off_t' [-Werror=format=] > DRV_LOG(D

[dpdk-dev] [PATCH] net/mlx5: fix 32b compilation

2019-06-11 Thread Shahaf Shuler
32b Compilation output the below error: drivers/net/mlx5/mlx5_txq.c: In function 'mlx5_txq_ibv_new': error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'off_t' [-Werror=format=] DRV_LOG(DEBUG, "port %u: uar_mmap_offset 0x%lx", ^ Fixes: 6bf10ab69be0 ("net