]> git.baikalelectronics.ru Git - kernel.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)
commitd6820c2f3ea438b27affe1047815d50a05232af5
tree168c696fb3b21bad135a8d9038720dcdaa28f3d0
parentb1049d0262f87fdda4f04e01e0fb2a8bf045b36c
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