From: Kenji Kaneshige Date: Mon, 12 May 2008 13:55:45 +0000 (+0900) Subject: ACPI/PCI: handle multiple _OSC X-Git-Tag: v2.6.26-rc3~70^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a65055e5e7304b3d6ad0f7542bf66308eae50a;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed