]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
iommu/vt-d: Fix crash when accessing VT-d sysfs entries
authorJoerg Roedel <jroedel@suse.de>
Tue, 28 Feb 2017 12:57:18 +0000 (13:57 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 28 Feb 2017 14:48:15 +0000 (15:48 +0100)
commita7fdb6e648fb10a4174483b5fc4dac9c25bd2093
tree5e6910bf154bc26668a4bedf808c7f5a07f6731e
parent86292b33d4b79ee03e2f43ea0381ef85f077c760
iommu/vt-d: Fix crash when accessing VT-d sysfs entries

The link between the iommu sysfs-device and the struct
intel_iommu is no longer stored as driver-data. Update the
code to use the new access method.

Reported-by: Dave Jones <davej@codemonkey.org.uk>
Fixes: 39ab9555c241 ('iommu: Add sysfs bindings for struct iommu_device')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c