Re: [dpdk-dev] [PATCH] net/ice/base: added union to avoid ptr dereference

2021-10-05 Thread Ferruh Yigit
On 10/5/2021 11:57 AM, Aman Singh wrote: Code changes done to avoid build issue as seen in Bug 817 - net/ice build failure with gcc 4.8.5 error: dereferencing type-punned pointer will break strict-aliasing rules. Signed-off-by: Aman Singh superseded by 'net/ice/base: fix build error for GCC 4

[dpdk-dev] [PATCH] net/ice/base: added union to avoid ptr dereference

2021-10-05 Thread Aman Singh
Code changes done to avoid build issue as seen in Bug 817 - net/ice build failure with gcc 4.8.5 error: dereferencing type-punned pointer will break strict-aliasing rules. Signed-off-by: Aman Singh --- drivers/net/ice/base/ice_parser_rt.c | 36 +++- 1 file changed, 20 ins