• Ingo Molnar's avatar
    x86, amd-iommu: propagate PCI device enabling error · 8a66712b
    Ingo Molnar authored
    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: default avatarIngo Molnar <mingo@elte.hu>
    8a66712b
amd_iommu_init.c 31.3 KB