]> git.baikalelectronics.ru Git - kernel.git/commit
intel-iommu: Fix lookup in add device
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 13 Nov 2012 17:22:03 +0000 (10:22 -0700)
committerJoerg Roedel <joro@8bytes.org>
Sat, 17 Nov 2012 12:27:15 +0000 (13:27 +0100)
commit6b06b242287ddbbfdf58aa0adcf060de01e5adc1
treecf111010189531f3846b4f30476102c3f69c8f34
parent5d0362fe8583bf40f1f1ba5a39cb45dd36177a92
intel-iommu: Fix lookup in add device

We can't assume this device exists, fall back to the bridge itself.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Tested-by: Matthew Thode <prometheanfire@gentoo.org>
Cc: stable@vger.kernel.org
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel-iommu.c