commit | b7a42b9d38063e58cdf201c575da75943f71051e | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Tue Feb 28 13:57:18 2017 +0100 |
committer | Joerg Roedel <jroedel@suse.de> | Tue Feb 28 15:48:23 2017 +0100 |
tree | fef44bb620a0a59c7de196a26f04b14df33c0ca0 | |
parent | a7fdb6e648fb10a4174483b5fc4dac9c25bd2093 [diff] |
iommu/amd: Fix crash when accessing AMD-Vi sysfs entries The link between the iommu sysfs-device and the struct amd_iommu is no longer stored as driver-data. Update the code to the new correct way of getting from device to amd_iommu. 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>