Messages in this thread | ![/](/images/icornerl.gif) | | From | Will Deacon <> | Subject | Re: [PATCH] iommu/arm-smmu-v3: Constify arm_smmu_mmu_notifier_ops | Date | Tue, 14 Dec 2021 15:18:14 +0000 |
| |
On Sat, 4 Dec 2021 23:33:01 +0100, Rikard Falkeborn wrote: > The only usage of arm_smmu_mmu_notifier_ops is to assign its address to > the ops field in the mmu_notifier struct, which is a pointer to const > struct mmu_notifier_ops. Make it const to allow the compiler to put it > in read-only memory. > >
Applied to will (for-joerg/arm-smmu/updates), thanks!
[1/1] iommu/arm-smmu-v3: Constify arm_smmu_mmu_notifier_ops https://git.kernel.org/will/c/17d9a4b43b28
Cheers, -- Will
https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev
| ![\](/images/icornerr.gif) |