Re: [Alternative][PATCH] ACPI / PCI: Set root bridge ACPI handle inadvance, v2

From: Yinghai Lu
Date: Fri Jan 11 2013 - 18:01:09 EST


On Fri, Jan 11, 2013 at 1:53 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> May I have your sign-off for the patch below at least?

Yes. please.

Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>

>
>
> Rafael
>
>
>> > Index: linux-2.6/drivers/acpi/glue.c
>> > ===================================================================
>> > --- linux-2.6.orig/drivers/acpi/glue.c
>> > +++ linux-2.6/drivers/acpi/glue.c
>> > @@ -311,7 +311,7 @@ static int acpi_platform_notify(struct d
>> > if (!ret) {
>> > struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
>> >
>> > - acpi_get_name(dev->acpi_handle, ACPI_FULL_PATHNAME, &buffer);
>> > + acpi_get_name(ACPI_HANDLE(dev), ACPI_FULL_PATHNAME, &buffer);
>> > DBG("Device %s -> %s\n", dev_name(dev), (char *)buffer.pointer);
>> > kfree(buffer.pointer);
>> > } else
>> >
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/