Skip to content

drivers/watchdog: Constify static struct watchdog_ops

Rikard Falkeborn linux-watchdog lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3watchdog: sl28cpld_wdt: Constify static struct watchdog_opsdrivers/watchdog/sl28cpld_wdt.c+1 -11 reply
2/3watchdog: tqmx86: Constify static struct watchdog_opsdrivers/watchdog/tqmx86_wdt.c+1 -11 reply
3/3watchdog: mpc8xxx_wdt: Constify static struct watchdog_opsdrivers/watchdog/mpc8xxx_wdt.c+1 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchGuenter Roeck
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] drivers/watchdog: Constify static struct watchdog_ops

Constify three instances of static struct watchdog_ops. These are only assigned to the ops field in the watchdog_device struct, which is a pointer to const struct watchdog_ops.

With these changes applied, all static watchdog_ops structs are const (checked for next-20210727), 119 instances).

Rikard Falkeborn (3):
watchdog: sl28cpld_wdt: Constify static struct watchdog_ops
watchdog: tqmx86: Constify static struct watchdog_ops
watchdog: mpc8xxx_wdt: Constify static struct watchdog_ops

 drivers/watchdog/mpc8xxx_wdt.c  | 2 +-
 drivers/watchdog/sl28cpld_wdt.c | 2 +-
 drivers/watchdog/tqmx86_wdt.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.32.0