Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1721559
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3] constify iommu_ops |
| Date | 2017-08-28 14:20 +0200 |
| Message-ID | <ujrbj-5ug-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 0/3] constify iommu_ops Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-28 14:20 +0200
csiph-web