summaryrefslogtreecommitdiffstats
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorArtem Savkov2017-08-08 12:26:02 +0200
committerJoerg Roedel2017-08-11 16:56:51 +0200
commita7990c647b35415e3dd07a077480a908678947ba (patch)
treee0a7f0065684f2aafa606291698d93b81cf525c1 /include/linux/iommu.h
parentiommu/amd: Fix schedule-while-atomic BUG in initialization code (diff)
downloadkernel-qcow2-linux-a7990c647b35415e3dd07a077480a908678947ba.tar.gz
kernel-qcow2-linux-a7990c647b35415e3dd07a077480a908678947ba.tar.xz
kernel-qcow2-linux-a7990c647b35415e3dd07a077480a908678947ba.zip
iommu/arm-smmu: fix null-pointer dereference in arm_smmu_add_device
Commit c54451a "iommu/arm-smmu: Fix the error path in arm_smmu_add_device" removed fwspec assignment in legacy_binding path as redundant which is wrong. It needs to be updated after fwspec initialisation in arm_smmu_register_legacy_master() as it is dereferenced later. Without this there is a NULL-pointer dereference panic during boot on some hosts. Signed-off-by: Artem Savkov <asavkov@redhat.com> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions