test case against union aliasing

From: Andy Shevchenko
Date: Tue Feb 27 2018 - 06:20:50 EST


Hi!

It seems we have some code in kernel which utilizes (rightlessly for
now) union aliasing.

So, can we create a test case against such? (Three steps: a) replace
union by struct keyword in data type in question, b) compile, c) run in
Qemu with proper functional test)

Does it make any sense?

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy