All of lore.kernel.org
 help / color / mirror / Atom feed
* [jfern:timers/tick-sched 1/2] kernel/time/timer_list.c:157:22: error: 'struct tick_sched' has no member named 'last_tick'; did you mean 'next_tick'?
@ 2024-11-06  3:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-06  3:41 UTC (permalink / raw)
  To: Joel Fernandes (Google); +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git timers/tick-sched
head:   d67df7dbb69ed36e14b2a422701f94c99b326759
commit: 23222c256db9ba9f5fea170e21083cb7afb78509 [1/2] tick-sched: Remove last_tick and calculate next tick from now
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20241106/202411061150.3J3SJsIC-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241106/202411061150.3J3SJsIC-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411061150.3J3SJsIC-lkp@intel.com/

All errors (new ones prefixed by >>):

   kernel/time/timer_list.c: In function 'print_cpu':
>> kernel/time/timer_list.c:157:22: error: 'struct tick_sched' has no member named 'last_tick'; did you mean 'next_tick'?
     157 |                 P_ns(last_tick);
         |                      ^~~~~~~~~
   kernel/time/timer_list.c:149:57: note: in definition of macro 'P_ns'
     149 |                    (unsigned long long)(ktime_to_ns(ts->x)))
         |                                                         ^


vim +157 kernel/time/timer_list.c

289f480af87e45 Ingo Molnar         2007-02-16  142  
289f480af87e45 Ingo Molnar         2007-02-16  143  #ifdef CONFIG_TICK_ONESHOT
289f480af87e45 Ingo Molnar         2007-02-16  144  # define P(x) \
9b04bd27564cfd David Miller        2007-05-09  145  	SEQ_printf(m, "  .%-15s: %Lu\n", #x, \
9b04bd27564cfd David Miller        2007-05-09  146  		   (unsigned long long)(ts->x))
289f480af87e45 Ingo Molnar         2007-02-16  147  # define P_ns(x) \
9b04bd27564cfd David Miller        2007-05-09  148  	SEQ_printf(m, "  .%-15s: %Lu nsecs\n", #x, \
9b04bd27564cfd David Miller        2007-05-09  149  		   (unsigned long long)(ktime_to_ns(ts->x)))
a478ffb2ae234e Frederic Weisbecker 2024-02-25  150  # define P_flag(x, f)			    \
a478ffb2ae234e Frederic Weisbecker 2024-02-25  151  	SEQ_printf(m, "  .%-15s: %d\n", #x, !!(ts->flags & (f)))
a478ffb2ae234e Frederic Weisbecker 2024-02-25  152  
289f480af87e45 Ingo Molnar         2007-02-16  153  	{
289f480af87e45 Ingo Molnar         2007-02-16  154  		struct tick_sched *ts = tick_get_tick_sched(cpu);
7988e5ae2be70b Frederic Weisbecker 2024-02-25  155  		P_flag(nohz, TS_FLAG_NOHZ);
7988e5ae2be70b Frederic Weisbecker 2024-02-25  156  		P_flag(highres, TS_FLAG_HIGHRES);
f5d411c91ede16 Frederic Weisbecker 2011-07-31 @157  		P_ns(last_tick);
a478ffb2ae234e Frederic Weisbecker 2024-02-25  158  		P_flag(tick_stopped, TS_FLAG_STOPPED);
289f480af87e45 Ingo Molnar         2007-02-16  159  		P(idle_jiffies);
289f480af87e45 Ingo Molnar         2007-02-16  160  		P(idle_calls);
289f480af87e45 Ingo Molnar         2007-02-16  161  		P(idle_sleeps);
289f480af87e45 Ingo Molnar         2007-02-16  162  		P_ns(idle_entrytime);
5df7fa1c62146a Thomas Gleixner     2008-02-01  163  		P_ns(idle_waketime);
5df7fa1c62146a Thomas Gleixner     2008-02-01  164  		P_ns(idle_exittime);
289f480af87e45 Ingo Molnar         2007-02-16  165  		P_ns(idle_sleeptime);
0224cf4c5ee0d7 Arjan van de Ven    2010-05-09  166  		P_ns(iowait_sleeptime);
289f480af87e45 Ingo Molnar         2007-02-16  167  		P(last_jiffies);
c1ad348b452aac Thomas Gleixner     2015-04-14  168  		P(next_timer);
289f480af87e45 Ingo Molnar         2007-02-16  169  		P_ns(idle_expires);
9b04bd27564cfd David Miller        2007-05-09  170  		SEQ_printf(m, "jiffies: %Lu\n",
9b04bd27564cfd David Miller        2007-05-09  171  			   (unsigned long long)jiffies);
289f480af87e45 Ingo Molnar         2007-02-16  172  	}
289f480af87e45 Ingo Molnar         2007-02-16  173  #endif
289f480af87e45 Ingo Molnar         2007-02-16  174  

:::::: The code at line 157 was first introduced by commit
:::::: f5d411c91ede162240f34e05a233f2759412988e nohz: Rename ts->idle_tick to ts->last_tick

:::::: TO: Frederic Weisbecker <fweisbec@gmail.com>
:::::: CC: Frederic Weisbecker <fweisbec@gmail.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-06  3:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06  3:41 [jfern:timers/tick-sched 1/2] kernel/time/timer_list.c:157:22: error: 'struct tick_sched' has no member named 'last_tick'; did you mean 'next_tick'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.