commit | 34a65055e5e7304b3d6ad0f7542bf66308eae50a | [log] [tgz] |
---|---|---|
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | Mon May 12 22:55:45 2008 +0900 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue May 13 09:51:54 2008 -0700 |
tree | 256235d6c54d8701a00811235271c14ddb232ba8 | |
parent | a5d1c8798309a384c2776e5ff472f8ceb6d9065d [diff] |
ACPI/PCI: handle multiple _OSC The pci_osc_control_set() function can be called for the ACPI object that doesn't have _OSC method. In this case, acpi_get_osc_data() would allocate a useless memory region. To avoid this, we need to check the existence of _OSC before calling acpi_get_osc_data(). Here is a patch to fix this problem in pci_osc_control_set. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>