[PATCH 09/13] timer: Remove users of expire and data arguments to DEFINE_TIMER

Ralf Baechle ralf at linux-mips.org
Tue Oct 10 00:23:05 AEDT 2017


On Wed, Oct 04, 2017 at 04:27:03PM -0700, Kees Cook wrote:

> Subject: [PATCH 09/13] timer: Remove users of expire and data arguments to
>  DEFINE_TIMER
> 
> The expire and data arguments of DEFINE_TIMER are only used in two places
> and are ignored by the code (malta-display.c only uses mod_timer(),
> never add_timer(), so the preset expires value is ignored). Set both
> sets of arguments to zero.
> 
> Cc: Ralf Baechle <ralf at linux-mips.org>
> Cc: Wim Van Sebroeck <wim at iguana.be>
> Cc: Guenter Roeck <linux at roeck-us.net>
> Cc: Geert Uytterhoeven <geert at linux-m68k.org>
> Cc: linux-mips at linux-mips.org
> Cc: linux-watchdog at vger.kernel.org
> Signed-off-by: Kees Cook <keescook at chromium.org>
> ---
>  arch/mips/mti-malta/malta-display.c | 6 +++---
>  drivers/watchdog/alim7101_wdt.c     | 4 ++--
>  2 files changed, 5 insertions(+), 5 deletions(-)

For malta-display:

Acked-by: Ralf Baechle <ralf at linux-mips.org>

  Ralf


More information about the Linuxppc-dev mailing list