diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-09-28 16:14:44 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-09-28 16:14:44 +0200 |
commit | 0774e392555a128cff7a94929b9ce957927fef49 (patch) | |
tree | 2dd8b9d9156e8c276c9ee2a7f37a62447184d2c9 /crypto/cts.c | |
parent | bef83de5a0e3031ff6ff9584b458611a7ac01b85 (diff) |
iommu/amd: Fix wrong assumption in iommu-group specific code
The new IOMMU groups code in the AMD IOMMU driver makes the
assumption that there is a pci_dev struct available for all
device-ids listed in the IVRS ACPI table. Unfortunatly this
assumption is not true and so this code causes a NULL
pointer dereference at boot on some systems.
Fix it by making sure the given pointer is never NULL when
passed to the group specific code. The real fix is larger
and will be queued for v3.7.
Reported-by: Florian Dazinger <florian@dazinger.net>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions