Re: [PATCH v1] device property: Get rid of union aliasing

From: Rafael J. Wysocki
Date: Thu Apr 26 2018 - 09:05:15 EST


On Thu, Apr 26, 2018 at 2:54 PM, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Apr 26, 2018 at 01:23:56PM +0300, Andy Shevchenko wrote:
>> The commit
>>
>> 318a19718261 ("device property: refactor built-in properties support")
>>
>> went way too far and brought a union aliasing. Partially revert it here
>> to get rid of union aliasing.
>
> What is "union aliasing"? And why is it bad?
>
>> Note, Apple properties support is still utilizing this trick.
>
> So you are breaking something now?
>
> What exactly is this fixing?

A device properties framework change that went in through my tree.

I'll take care of this, but I agree that the commit log is not
particularly useful.

Cheers,
Rafael