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


Groups > linux.kernel > #1497753

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

From Wim Van Sebroeck <wim@iguana.be>
Newsgroups linux.kernel
Subject Re: [PATCH] watchdog: iTCO_wdt: constify iTCO_wdt_pm structure
Date 2016-10-08 16:20 +0200
Message-ID <sq0DL-89G-1@gated-at.bofh.it> (permalink)
References <sbfbH-6vb-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Julia,

> 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>

This patch and your constify watchdog_ops structures were added to linux-watchdog-next almost 2 weeks ago.

Kind regards,
Wim.

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


Thread

Re: [PATCH] watchdog: iTCO_wdt: constify iTCO_wdt_pm structure Wim Van Sebroeck <wim@iguana.be> - 2016-10-08 16:20 +0200

csiph-web