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-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-09-27 22:23:25 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-09-07 19:07:46 +02:00
2021-08-10 05:01:57 +02:00
2021-09-09 19:35:40 +02:00
2021-10-05 12:31:37 +02:00
2021-08-17 08:37:52 +02:00
2021-09-06 03:46:22 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-09-07 19:07:46 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-09-09 15:30:32 +02:00
2021-08-17 08:37:52 +02:00
2021-09-15 17:11:56 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00