From: David Woodhouse Date: Mon, 6 Apr 2009 20:30:01 +0000 (-0700) Subject: intel-iommu: Fix oops in device_to_iommu() when devices not found. X-Git-Tag: v2.6.30-rc1~175^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4958c5dc7bcb2e42d985cd26aeafd8a7eca9ab1e;p=pandora-kernel.git intel-iommu: Fix oops in device_to_iommu() when devices not found. It's possible for a device in the drhd->devices[] array to be NULL if it wasn't found at boot time, which means we have to check for that case. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed