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


Groups > linux.kernel > #1479647

Re: [PATCH] watchdog: iTCO_wdt: constify iTCO_wdt_pm structure

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject Re: [PATCH] watchdog: iTCO_wdt: constify iTCO_wdt_pm structure
Date 2016-09-09 06:30 +0200
Message-ID <sflBU-6IG-21@gated-at.bofh.it> (permalink)
References <sbfbH-6vb-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/28/2016 01:26 PM, Julia Lawall wrote:
> iTCO_wdt_pm, of type struct dev_pm_ops, is never modified, so declare it as
> const.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

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


Thread

[PATCH] watchdog: iTCO_wdt: constify iTCO_wdt_pm structure Julia Lawall <Julia.Lawall@lip6.fr> - 2016-08-28 22:50 +0200
  Re: [PATCH] watchdog: iTCO_wdt: constify iTCO_wdt_pm structure Guenter Roeck <linux@roeck-us.net> - 2016-09-09 06:30 +0200

csiph-web