Re: [dpdk-dev] [PATCH v3 3/5] vdpa/mlx5: fix minsize build

2021-08-11 Thread Ruifeng Wang
> -Original Message- > From: dev On Behalf Of Thomas Monjalon > Sent: Sunday, August 8, 2021 8:52 PM > To: dev@dpdk.org > Cc: bruce.richard...@intel.com; david.march...@redhat.com; Matan Azrad > ; Viacheslav Ovsiienko > Subject: [dpdk-dev] [PATCH v3 3/5] vdpa/ml

Re: [dpdk-dev] [PATCH v3 3/5] vdpa/mlx5: fix minsize build

2021-08-09 Thread Matan Azrad
From: Thomas Monjalon > Error occurs when configuring meson with --buildtype=minsize with GCC > 11.1.0: > > drivers/vdpa/mlx5/mlx5_vdpa_mem.c: In function > ‘mlx5_vdpa_mem_register’: > drivers/vdpa/mlx5/mlx5_vdpa_mem.c:183:24: error: > initialization of ‘uint64_t’ {aka ‘long unsigned int’} from

[dpdk-dev] [PATCH v3 3/5] vdpa/mlx5: fix minsize build

2021-08-08 Thread Thomas Monjalon
Error occurs when configuring meson with --buildtype=minsize with GCC 11.1.0: drivers/vdpa/mlx5/mlx5_vdpa_mem.c: In function ‘mlx5_vdpa_mem_register’: drivers/vdpa/mlx5/mlx5_vdpa_mem.c:183:24: error: initialization of ‘uint64_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer wi