]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 20:14:21 +0000 (12:14 -0800)
commit2bd5aecc3d0b659e6dbbc96483737601a69db880
treedacb50d380276cfc412723d922b9608286a77f4c
parent2811150bc6fc7a64393531dc4cb3d2a9c586e977
intel-iommu: Fix lookup in add device

commit 3da4af0affbb797e8ac4c2b4598da0c34b8cc52a upstream.

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>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/intel-iommu.c