/*
   * Reaper for links from keyrings to dead keys.
   */
- static void key_gc_timer_func(unsigned long);
+ static void key_gc_timer_func(struct timer_list *);
  static DEFINE_TIMER(key_gc_timer, key_gc_timer_func);
  
 -static time_t key_gc_next_run = LONG_MAX;
 +static time64_t key_gc_next_run = TIME64_MAX;
  static struct key_type *key_gc_dead_keytype;
  
  static unsigned long key_gc_flags;
   * Some key's cleanup time was met after it expired, so we need to get the
   * reaper to go through a cycle finding expired keys.
   */
- static void key_gc_timer_func(unsigned long data)
+ static void key_gc_timer_func(struct timer_list *unused)
  {
        kenter("");
 -      key_gc_next_run = LONG_MAX;
 +      key_gc_next_run = TIME64_MAX;
        key_schedule_gc_links();
  }