Re: [PATCH v2] examples: compilation fix for GCC-12

2022-10-06 Thread Thomas Monjalon
02/09/2022 09:43, Amit Prakash Shukla: > GCC-12 warns when a pointer of type union points to an array of same > defined size, as union internally gets paded with pad bytes. > > ../examples/common/neon/port_group.h:42:21: error: array subscript > 'union [0]' is partly outside array bounds of

Re: [PATCH v2] examples: compilation fix for GCC-12

2022-10-06 Thread Thomas Monjalon
06/10/2022 08:31, Amit Prakash Shukla: > checkpatch complains about coding style error. It looks like a false positive > ? Yes we can ignore this checkpatch warning.

RE: [PATCH v2] examples: compilation fix for GCC-12

2022-10-05 Thread Amit Prakash Shukla
checkpatch complains about coding style error. It looks like a false positive ? Please suggest. Thanks, Amit Shukla > -Original Message- > From: Amit Prakash Shukla > Sent: Friday, September 2, 2022 1:14 PM > To: Ruifeng Wang > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > sta...@dp