Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1540623
| From | Doug Ledford <dledford@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] infiniband: hw: hfi1: constify mmu_notifier_ops structure |
| Date | 2016-12-12 21:30 +0100 |
| Message-ID | <sNFot-oQ-21@gated-at.bofh.it> (permalink) |
| References | <sFarw-39W-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] infiniband: hw: hfi1: constify mmu_notifier_ops structure Doug Ledford <dledford@redhat.com> - 2016-12-12 21:30 +0100
csiph-web