From: kernel test robot <lkp@intel.com>
To: Anna-Maria Behnsen <anna-maria@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [tglx-devel:timers/pushpull 29/32] kernel/time/timer.c:2209:6: warning: no previous prototype for function 'timer_base_is_idle'
Date: Wed, 6 Dec 2023 10:46:24 +0800 [thread overview]
Message-ID: <202312061041.Ln8dqICl-lkp@intel.com> (raw)
Hi Anna-Maria,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git timers/pushpull
head: c5f729902c462bd2f9153641aebe042bbb5f9ede
commit: 2d179dd1eb10c4033f67686598041df429fb9382 [29/32] timers: Introduce function to check timer base is_idle flag
config: arm-mv78xx0_defconfig (https://download.01.org/0day-ci/archive/20231206/202312061041.Ln8dqICl-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312061041.Ln8dqICl-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/202312061041.Ln8dqICl-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/time/timer.c:2209:6: warning: no previous prototype for function 'timer_base_is_idle' [-Wmissing-prototypes]
2209 | bool timer_base_is_idle(void)
| ^
kernel/time/timer.c:2209:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2209 | bool timer_base_is_idle(void)
| ^
| static
1 warning generated.
vim +/timer_base_is_idle +2209 kernel/time/timer.c
2203
2204 /**
2205 * timer_base_is_idle() - Return whether timer base is set idle
2206 *
2207 * Returns value of local timer base is_idle value.
2208 */
> 2209 bool timer_base_is_idle(void)
2210 {
2211 return __this_cpu_read(timer_bases[BASE_LOCAL].is_idle);
2212 }
2213
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-12-06 2:47 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=202312061041.Ln8dqICl-lkp@intel.com \
--to=lkp@intel.com \
--cc=anna-maria@linutronix.de \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox