Aman Deep Singh 16b809d144 net/ice/base: fix strict-aliasing with GCC
Code changes done for build issue as reported in Bug 817
error: dereferencing type-punned pointer will break strict-aliasing rules.
added union to avoid pointer dereferencing

The build issue has been reported with both gcc 4.8.5 (RHEL 7) and
gcc 5.4.0 (Ubuntu 16.04).

Bugzilla ID: 817
Fixes: 39925373a333 ("net/ice/base: add parser execution main loop")

Signed-off-by: Aman Deep Singh <aman.deep.singh@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2021-10-05 16:59:06 +02:00
..
2021-09-06 03:17:29 +02:00
2021-09-28 13:13:52 +02:00
2021-09-28 13:13:52 +02:00
2021-04-01 16:10:20 +02:00
2021-09-28 13:13:52 +02:00
2021-09-28 13:13:52 +02:00
2021-08-17 08:37:52 +02:00