* [PATCH 0/3] constify iommu_ops
@ 2017-08-28 12:11 ` Arvind Yadav
0 siblings, 0 replies; 2+ messages in thread
From: Arvind Yadav @ 2017-08-28 12:11 UTC (permalink / raw)
To: m.szyprowski, joro, kgene, krzk, matthias.bgg, gerald.schaefer
Cc: linux-kernel, iommu, linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 0/3] constify iommu_ops
@ 2017-08-28 12:11 ` Arvind Yadav
0 siblings, 0 replies; 2+ messages in thread
From: Arvind Yadav @ 2017-08-28 12:11 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-28 12:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 12:11 [PATCH 0/3] constify iommu_ops Arvind Yadav
2017-08-28 12:11 ` Arvind Yadav
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.