From: Kenji Kaneshige Date: Tue, 22 May 2007 17:20:36 +0000 (-0700) Subject: [IA64] fix kmalloc(0) in arch/ia64/pci/pci.c X-Git-Tag: v2.6.22-rc3~96^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a66aa704d6f332b001dfb0e787c92b2c61c75081;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Tony Luck --- Reading git-diff-tree failed