From: kernel test robot <lkp@intel.com>
To: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'?
Date: Wed, 6 Nov 2024 11:41:59 +0800 [thread overview]
Message-ID: <202411061150.3J3SJsIC-lkp@intel.com> (raw)
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
reply other threads:[~2024-11-06 3:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202411061150.3J3SJsIC-lkp@intel.com \
--to=lkp@intel.com \
--cc=joel@joelfernandes.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.