Messages in this thread | | | Subject | Re: [PATCH] infiniband: hw: hfi1: constify mmu_notifier_ops structure | From | Doug Ledford <> | Date | Mon, 12 Dec 2016 15:21:06 -0500 |
| |
On 11/19/2016 4:47 AM, Bhumika Goyal wrote: > Declare the structure mmu_notifier_ops as const as it is only stored in > the ops field of a mmu_notifier structure. The ops field is of type > const struct mmu_notifier_ops *, so mmu_notifier_ops structures having > this property can be declared as const.
Thanks, applied.
-- Doug Ledford <dledford@redhat.com> GPG Key ID: 0E572FDD
[unhandled content-type:application/pgp-signature] | |