From: kernel test robot <lkp@intel.com>
To: Jeff Layton <jlayton@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jlayton:mgtime 8/13] kernel/time/timekeeping_debug.c:59:15: warning: no previous prototype for 'timekeeping_mg_get_floor_swaps'
Date: Thu, 19 Sep 2024 21:55:33 +0800 [thread overview]
Message-ID: <202409192105.DaLdoYKW-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git mgtime
head: c276587422e7965813f945523c522b95b0f5ffcf
commit: 6f453b2b31051a046df355061b0bfcfe32198083 [8/13] timekeeping: add percpu counter for tracking floor swap events
config: parisc-defconfig (https://download.01.org/0day-ci/archive/20240919/202409192105.DaLdoYKW-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240919/202409192105.DaLdoYKW-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/202409192105.DaLdoYKW-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/time/timekeeping_debug.c:59:15: warning: no previous prototype for 'timekeeping_mg_get_floor_swaps' [-Wmissing-prototypes]
59 | unsigned long timekeeping_mg_get_floor_swaps(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/timekeeping_mg_get_floor_swaps +59 kernel/time/timekeeping_debug.c
58
> 59 unsigned long timekeeping_mg_get_floor_swaps(void)
60 {
61 int i;
62 unsigned long sum = 0;
63
64 for_each_possible_cpu(i)
65 sum += per_cpu(timekeeping_mg_floor_swaps, i);
66 return sum < 0 ? 0 : sum;
67 }
68
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-09-19 13:56 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=202409192105.DaLdoYKW-lkp@intel.com \
--to=lkp@intel.com \
--cc=jlayton@kernel.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.