Tag: 759ce23b62c4ba1aa467fe5eb12bc9f95af606fe

iommu/amd: Constify mmu_notifier_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> This mmu_notifier_ops structure is never modified, so declare it as const, like the other mmu_notifier_ops structures. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Joerg Roedel — drivers/iommu/amd_iommu_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/iommu/amd_iommu_v2.c b/drivers/iommu/amd_iommu_v2.c index 6a28b74..c865737 100644 — a/drivers/iommu/amd_iommu_v2.c +++ …

Continue reading