diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2007-05-22 10:20:36 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-05-22 10:20:36 -0700 |
commit | a66aa704d6f332b001dfb0e787c92b2c61c75081 (patch) | |
tree | 41871a0f1da59f8033700c0c613150d03ad36fcd /kernel/die_notifier.c | |
parent | 6ae384884d936cb39ab20238af34689933e44525 (diff) |
[IA64] fix kmalloc(0) in arch/ia64/pci/pci.c
Hiroyuki Kamezawa reported the problem that pci_acpi_scan_root() of
ia64 might call kmalloc_node() with zero size.
Currently ia64's pci_acpi_scan_root() assumes that _CRS method of root
bridge has at least one resource window. But, the root bridges that
has no resource window must be taken into account.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'kernel/die_notifier.c')
0 files changed, 0 insertions, 0 deletions