[PATCH 0/3] constify iommu_ops

Arvind Yadav arvind.yadav.cs at gmail.com
Mon Aug 28 05:11:37 PDT 2017


iommu_ops are not supposed to change at runtime.
Functions 'iommu_device_set_ops' and 'bus_set_iommu' working with
const iommu_ops provided by <linux/iommu.h>. So mark the non-const
structs as const.

Arvind Yadav (3):
  [PATCH 1/3] iommu: exynos: constify iommu_ops
  [PATCH 2/3] iommu: mtk: constify iommu_ops
  [PATCH 3/3] iommu: s390: constify iommu_ops

 drivers/iommu/exynos-iommu.c | 4 ++--
 drivers/iommu/mtk_iommu.c    | 4 ++--
 drivers/iommu/mtk_iommu_v1.c | 4 ++--
 drivers/iommu/s390-iommu.c   | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

-- 
1.9.1




More information about the linux-arm-kernel mailing list