> -----Original Message----- > From: David Marchand <[email protected]> > Sent: Thursday, January 30, 2025 10:02 AM > To: Andre Muezerie <[email protected]>; Ali Alnubani > <[email protected]> > Cc: David Christensen <[email protected]>; Dariusz Sosnowski > <[email protected]>; Slava Ovsiienko <[email protected]>; Bing > Zhao <[email protected]>; Ori Kam <[email protected]>; Suanming Mou > <[email protected]>; Matan Azrad <[email protected]>; [email protected] > 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 > <[email protected]> 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=cast-qual] > > > > lib/eal/include/rte_common.h:557:34: warning: dereferencing type-punned > > pointer will break strict-aliasing rules [-Wstrict-aliasing] > > > > Signed-off-by: Andre Muezerie <[email protected]> > > Thank you André, this fixes the build error reported by OBS (I tested > with my dpdk project in OBS). > Ali, I'll wait for your test report.
Can confirm it resolves the build failure in my environment. Tested-by: Ali Alnubani <[email protected]> Thanks, Ali > > > -- > David Marchand

