aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMurali Karicheri <[email protected]>2015-03-03 12:52:14 -0500
committerBjorn Helgaas <[email protected]>2015-03-12 11:43:09 -0500
commit22b3c181c6c324a46f71aae806d8ddbe61d25761 (patch)
treecc563aa0518c429b8bd6ebcc7742fe44b3e8eca7 /lib/mpi/mpiutil.c
parentde335bb49269037d1e8906ba59f8bacba732bec6 (diff)
arm: dma-mapping: limit IOMMU mapping size
arm_iommu_create_mapping() has size parameter of size_t and arm_setup_iommu_dma_ops() can take a value higher than that when this is called from the OF code. So limit the size to SIZE_MAX. Tested-by: Suravee Suthikulpanit <[email protected]> (AMD Seattle) Signed-off-by: Murali Karicheri <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Acked-by: Will Deacon <[email protected]> CC: Joerg Roedel <[email protected]> CC: Grant Likely <[email protected]> CC: Rob Herring <[email protected]> CC: Russell King <[email protected]> CC: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions