]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86, amd-iommu: propagate PCI device enabling error
authorIngo Molnar <mingo@elte.hu>
Sun, 12 Oct 2008 13:24:53 +0000 (15:24 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Oct 2008 13:24:53 +0000 (15:24 +0200)
commit8a66712ba0969aea5580b9e312badfc2490fc614
tree168c696fb3b21bad135a8d9038720dcdaa28f3d0
parentd562353a4533c4671af683499191707c9a77c406
x86, amd-iommu: propagate PCI device enabling error

propagate an error in enabling the PCI device.

Also eliminates this warning:

 arch/x86/kernel/amd_iommu_init.c: In function ‘init_iommu_one’:
 arch/x86/kernel/amd_iommu_init.c:726: warning: ignoring return value of ‘pci_enable_device’, declared with attribute warn_unused_result

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu_init.c