Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1474256

Re: [PATCH] rtc: constify rtc_class_ops structures

From Hans Ulli Kroll <ulli.kroll@googlemail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rtc: constify rtc_class_ops structures
Date 2016-09-01 12:30 +0200
Message-ID <scxpU-vd-27@gated-at.bofh.it> (permalink)
References <sc94e-8tQ-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Julia 

On Wed, 31 Aug 2016, Julia Lawall wrote:

> Check for rtc_class_ops structures that are only passed to
> devm_rtc_device_register, rtc_device_register,
> platform_device_register_data, all of which declare the corresponding
> parameter as const.  Declare rtc_class_ops structures that have these
> properties as const.
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
> 

> 
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

for drivers/rtc/rtc-gemini.c

Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] rtc: constify rtc_class_ops structures Julia Lawall <Julia.Lawall@lip6.fr> - 2016-08-31 10:30 +0200
  Re: [PATCH] rtc: constify rtc_class_ops structures Baruch Siach <baruch@tkos.co.il> - 2016-08-31 20:00 +0200
  Re: [PATCH] rtc: constify rtc_class_ops structures Hans Ulli Kroll <ulli.kroll@googlemail.com> - 2016-09-01 12:30 +0200
  Re: [PATCH] rtc: constify rtc_class_ops structures Linus Walleij <linus.walleij@linaro.org> - 2016-09-01 12:40 +0200
  Re: [PATCH] rtc: constify rtc_class_ops structures Thierry Reding <thierry.reding@gmail.com> - 2016-09-01 13:40 +0200
  Re: [PATCH] rtc: constify rtc_class_ops structures Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-09-02 22:40 +0200

csiph-web