]> git.baikalelectronics.ru Git - 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)
commitea9b28ce5c9af1c7101a009280601515fe8121fb
tree5e6910bf154bc26668a4bedf808c7f5a07f6731e
parent962dd10612ba0153eb31fdfda1e15085c1aa601e
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: 5c5bc828669e ('iommu: Add sysfs bindings for struct iommu_device')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c