On Mon, 14 Sep 2009 16:35:40 -0600 Bjorn Helgaas <bjorn.helgaas@xxxxxx> wrote: > This patch cleans up acpi_run_hpp() and follows the style of > acpi_run_hpx(): > - remove unnecessary METHOD_NAME__HPP #define > - use ACPI_ALLOCATE_BUFFER rather than evaluating _HPP twice > - validate _HPP package length (defined as 4 by the spec) > - avoid ref to undefined data if FW provides < 4 elements > - remove temporary nui[] array > > Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx> > Reviewed-by: Alex Chiang <achiang@xxxxxx> > Reviewed-by: Kenji Kaneshige <kaneshige.kenji@xxxxxxxxxxxxxx> > Acked-by: Kenji Kaneshige <kaneshige.kenji@xxxxxxxxxxxxxx> > --- > drivers/pci/hotplug/acpi_pcihp.c | 84 > ++++++++++---------------------------- 1 files changed, 22 > insertions(+), 62 deletions(-) Applied this series to my linux-next tree, thanks everyone. -- Jesse Barnes, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html