diff options
| author | Bjorn Helgaas <[email protected]> | 2009-09-14 22:35:40 +0000 |
|---|---|---|
| committer | Jesse Barnes <[email protected]> | 2009-09-15 00:39:14 +0000 |
| commit | 5e3573db2bd5db6925159279d99576a4635bdb66 (patch) | |
| tree | a90efab044203abfda470f464cd056fe97497121 /fs/proc/array.c | |
| parent | PCI hotplug: acpiphp: use generic pci_configure_slot() (diff) | |
| download | kernel-5e3573db2bd5db6925159279d99576a4635bdb66.tar.gz kernel-5e3573db2bd5db6925159279d99576a4635bdb66.zip | |
PCI hotplug: clean up acpi_run_hpp()
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 <[email protected]>
Reviewed-by: Alex Chiang <[email protected]>
Reviewed-by: Kenji Kaneshige <[email protected]>
Acked-by: Kenji Kaneshige <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
