Re: [Intel-gfx] [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API

2017-06-06 Thread Christoph Hellwig
On Mon, Jun 05, 2017 at 10:37:41PM +0200, Rafael J. Wysocki wrote: > On Mon, Jun 5, 2017 at 6:20 PM, Andy Shevchenko > 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

Re: [Intel-gfx] [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API

2017-06-05 Thread Rafael J. Wysocki
On Mon, Jun 5, 2017 at 6:20 PM, Andy Shevchenko 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 R

Re: [Intel-gfx] [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API

2017-06-05 Thread Andy Shevchenko
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. -- Andy Shevchenko Intel Finland Oy __

Re: [Intel-gfx] [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API

2017-06-05 Thread Christoph Hellwig
> + 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? ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-g

Re: [Intel-gfx] [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API

2017-05-31 Thread kbuild test robot
Hi Andy, [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.12-rc3 next-20170531] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/ACPI-et-al-convert-to-use-new-

Re: [Intel-gfx] [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API

2017-05-31 Thread kbuild test robot
Hi Andy, [auto build test WARNING on pm/linux-next] [also build test WARNING on v4.12-rc3 next-20170531] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/ACPI-et-al-convert-to-use-

Re: [Intel-gfx] [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API

2017-05-31 Thread Rafael J. Wysocki
On Wednesday, May 31, 2017 10:41:50 PM Andy Shevchenko wrote: > There are new types and helpers that are supposed to be used in new code. > > As a preparation to get rid of legacy types and API functions do > the conversion here. > > Signed-off-by: Andy Shevchenko Acked-by: Rafael J. Wysocki

[Intel-gfx] [PATCH v2 3/5] ACPI / bus: Switch to use new generic UUID API

2017-05-31 Thread Andy Shevchenko
There are new types and helpers that are supposed to be used in new code. As a preparation to get rid of legacy types and API functions do the conversion here. Signed-off-by: Andy Shevchenko --- drivers/acpi/bus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers