Re: [PATCH] drivers/net: fix cast-qual and strict-aliasing errors for ppc64le

2025-01-30 Thread David Marchand
On Wed, Jan 29, 2025 at 6:36 PM Andre Muezerie wrote: > > During a recent cleanup a few lines were missed which are causing > errors on ppc64le, like the ones below: > > drivers/net/mlx5/mlx5_rxtx_vec_altivec.h:77:17: error: cast discards > ‘volatile’ qualifier from pointer target type [-Werror=ca

RE: [PATCH] drivers/net: fix cast-qual and strict-aliasing errors for ppc64le

2025-01-30 Thread Ali Alnubani
k.org > Subject: Re: [PATCH] drivers/net: fix cast-qual and strict-aliasing errors for > ppc64le > > On Wed, Jan 29, 2025 at 6:36 PM Andre Muezerie > wrote: > > > > During a recent cleanup a few lines were missed which are causing > > errors on ppc64le, like the ones b

Re: [PATCH] drivers/net: fix cast-qual and strict-aliasing errors for ppc64le

2025-01-30 Thread David Marchand
On Wed, Jan 29, 2025 at 6:36 PM Andre Muezerie wrote: > > During a recent cleanup a few lines were missed which are causing > errors on ppc64le, like the ones below: > > drivers/net/mlx5/mlx5_rxtx_vec_altivec.h:77:17: error: cast discards > ‘volatile’ qualifier from pointer target type [-Werror=ca

[PATCH] drivers/net: fix cast-qual and strict-aliasing errors for ppc64le

2025-01-29 Thread Andre Muezerie
During a recent cleanup a few lines were missed which are causing errors on ppc64le, like the ones below: drivers/net/mlx5/mlx5_rxtx_vec_altivec.h:77:17: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] lib/eal/include/rte_common.h:557:34: warning: dereferenc