Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1550693
| From | Julia Lawall <julia.lawall@lip6.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops |
| Date | 2017-01-04 12:50 +0100 |
| Message-ID | <sVSeS-47P-31@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <sVEEV-3Cx-1@gated-at.bofh.it> <sVEYh-3J6-11@gated-at.bofh.it> <sVFhE-3PT-15@gated-at.bofh.it> <sVRst-3zH-15@gated-at.bofh.it> <sVRCa-3SA-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> The question was whether the point to the rtc_class_ops could be made > __ro_after_init. And Russell is right, it is pointed to by the ops > pointer in a struct rtc_device and that struct is dynamically allocated > in rtc_device_register(). OK, I think it's a terminology issue. You mean the structure that contains the pointer, and not the pointer itself, which is already const. thanks, julia
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Kees Cook <keescook@chromium.org> - 2017-01-03 22:20 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-03 22:40 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-03 23:00 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Julia Lawall <julia.lawall@lip6.fr> - 2017-01-04 12:00 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-01-04 12:10 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Julia Lawall <julia.lawall@lip6.fr> - 2017-01-04 12:50 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-04 13:20 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Julia Lawall <julia.lawall@lip6.fr> - 2017-01-04 13:30 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-04 14:20 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Julia Lawall <julia.lawall@lip6.fr> - 2017-01-04 14:50 +0100
Re: [PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops Kees Cook <keescook@chromium.org> - 2017-01-04 23:00 +0100
csiph-web