]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu: Check that iommu_fwspecs are ours
authorRobin Murphy <robin.murphy@arm.com>
Wed, 2 Nov 2016 17:31:32 +0000 (17:31 +0000)
committerJoerg Roedel <jroedel@suse.de>
Tue, 8 Nov 2016 13:46:41 +0000 (14:46 +0100)
commit15ebe023dc2d03d585f9468de0239efa47f3333b
tree301a1ee2e46951464c3ac173f45890ccd7787933
parent60d2a36594751939934ce966f838a66dee76fa7d
iommu/arm-smmu: Check that iommu_fwspecs are ours

We seem to have forgotten to check that iommu_fwspecs actually belong to
us before we go ahead and dereference their private data. Oops.

Fixes: f599be08b296 ("iommu/arm-smmu: Wire up generic configuration support")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm-smmu.c