summaryrefslogtreecommitdiffstats
path: root/drivers/pci/intel-iommu.c
diff options
context:
space:
mode:
authorKenji Kaneshige2008-05-12 15:55:45 +0200
committerJesse Barnes2008-05-13 18:51:54 +0200
commit34a65055e5e7304b3d6ad0f7542bf66308eae50a (patch)
tree256235d6c54d8701a00811235271c14ddb232ba8 /drivers/pci/intel-iommu.c
parentACPI/PCI: handle multiple _OSC (diff)
downloadkernel-qcow2-linux-34a65055e5e7304b3d6ad0f7542bf66308eae50a.tar.gz
kernel-qcow2-linux-34a65055e5e7304b3d6ad0f7542bf66308eae50a.tar.xz
kernel-qcow2-linux-34a65055e5e7304b3d6ad0f7542bf66308eae50a.zip
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>
Diffstat (limited to 'drivers/pci/intel-iommu.c')
0 files changed, 0 insertions, 0 deletions