]> asedeno.scripts.mit.edu Git - linux.git/commit
ia64/PCI: Clear host bridge aperture struct resource
authorYinghai Lu <yinghai@kernel.org>
Wed, 19 Sep 2012 18:54:17 +0000 (11:54 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Sep 2012 20:56:01 +0000 (14:56 -0600)
commitda104919059bd89dc77a77d74b0fb289384ce9b1
treeb70a91bb8b53577fb9913dcbd910611404e1de6d
parent4cd8daf05c7071ac80008c8d4368860110fa6466
ia64/PCI: Clear host bridge aperture struct resource

Use kzalloc() so the struct resource doesn't contain garbage in
fields we don't initialize.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: linux-ia64@vger.kernel.org
arch/ia64/pci/pci.c