All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 1965/7856] kernel/time/tick-legacy.c:29 legacy_timer_tick() warn: statement has no effect 31
@ 2020-11-24  8:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-24  8:23 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2409 bytes --]

CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Arnd Bergmann <arnd@arndb.de>
CC: Geert Uytterhoeven <geert@linux-m68k.org>
CC: Linus Walleij <linus.walleij@linaro.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   62918e6fd7b5751c1285c7f8c6cbd27eb6600c02
commit: 56cc7b8acfb7c763f71c0492fa8da01dca7c1760 [1965/7856] timekeeping: remove xtime_update
:::::: branch date: 23 hours ago
:::::: commit date: 3 weeks ago
config: m68k-randconfig-m031-20201124 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
kernel/time/tick-legacy.c:29 legacy_timer_tick() warn: statement has no effect 31

vim +29 kernel/time/tick-legacy.c

b3550164a19d62e Arnd Bergmann 2020-09-24  12  
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  13  /**
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  14   * legacy_timer_tick() - advances the timekeeping infrastructure
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  15   * @ticks:	number of ticks, that have elapsed since the last call.
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  16   *
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  17   * This is used by platforms that have not been converted to
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  18   * generic clockevents.
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  19   *
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  20   * If 'ticks' is zero, the CPU is not handling timekeeping, so
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  21   * only perform process accounting and profiling.
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  22   *
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  23   * Must be called with interrupts disabled.
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  24   */
b3550164a19d62e Arnd Bergmann 2020-09-24  25  void legacy_timer_tick(unsigned long ticks)
b3550164a19d62e Arnd Bergmann 2020-09-24  26  {
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  27  	if (ticks) {
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24  28  		raw_spin_lock(&jiffies_lock);
56cc7b8acfb7c76 Arnd Bergmann 2020-09-24 @29  		write_seqcount_begin(&jiffies_seq);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30388 bytes --]

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

only message in thread, other threads:[~2020-11-24  8:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24  8:23 [linux-next:master 1965/7856] kernel/time/tick-legacy.c:29 legacy_timer_tick() warn: statement has no effect 31 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.