[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jv_RKwiDLD_bDOxZfe_mZnaxfGkcwLaB8WvWncDvx6PA@mail.gmail.com>
Date: Mon, 5 Jun 2017 22:37:41 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Christoph Hellwig <hch@....de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Rafael J . Wysocki" <rjw@...ysocki.net>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
Dan Williams <dan.j.williams@...el.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Borislav Petkov <bp@...e.de>,
intel-gfx <intel-gfx@...ts.freedesktop.org>
Subject: Re: [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API
On Mon, Jun 5, 2017 at 6:20 PM, Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> wrote:
> On Mon, 2017-06-05 at 18:03 +0200, Christoph Hellwig wrote:
>> > + in_params[0].buffer.pointer = (u8 *)&guid;
>>
>> Any idea why the pointer is defined as a u8 * in union acpi_object
>> instead of a void?
>
> I guess this question to Rafael.
That data type is defined in upstream ACPICA and the reason why it is
defined the way it is has something to do with history I suppose.
Thanks,
Rafael
Powered by blists - more mailing lists