lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202311161213.8QKZqSLs-lkp@intel.com>
Date:   Thu, 16 Nov 2023 12:45:18 +0800
From:   kernel test robot <lkp@...el.com>
To:     Joel Fernandes <joelaf@...gle.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        "Rafael J. Wysocki" <rjw@...ysocki.net>
Subject: kernel/time/tick-sched.c:995: warning: Function parameter or member
 'cpu' not described in 'tick_nohz_get_idle_calls_cpu'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c42d9eeef8e5ba9292eda36fd8e3c11f35ee065c
commit: 466a2b42d67644447a1765276259a3ea5531ddff cpufreq: schedutil: Use idle_calls counter of the remote CPU
date:   6 years ago
config: x86_64-randconfig-x012-20230629 (https://download.01.org/0day-ci/archive/20231116/202311161213.8QKZqSLs-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/20231116/202311161213.8QKZqSLs-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311161213.8QKZqSLs-lkp@intel.com/

All warnings (new ones prefixed by >>):

   arch/x86/include/asm/bitops.h: Assembler messages:
   arch/x86/include/asm/bitops.h:225: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
   arch/x86/include/asm/bitops.h:271: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
   arch/x86/include/asm/bitops.h:225: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
   kernel/time/tick-sched.c:500: warning: Function parameter or member 'now' not described in 'tick_nohz_update_jiffies'
>> kernel/time/tick-sched.c:995: warning: Function parameter or member 'cpu' not described in 'tick_nohz_get_idle_calls_cpu'
   kernel/time/tick-sched.c:1248: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Async notification about clocksource changes
   kernel/time/tick-sched.c:1269: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Check, if a change happened, which makes oneshot possible.
   kernel/time/tick-sched.o: warning: objtool: tick_nohz_stop_sched_tick()+0xb1a: sibling call from callable instruction with modified stack frame
   kernel/time/tick-sched.o: warning: objtool: __tick_nohz_idle_enter()+0x398: sibling call from callable instruction with modified stack frame
   kernel/time/tick-sched.o: warning: objtool: tick_do_update_jiffies64.part.0()+0x2a4: sibling call from callable instruction with modified stack frame
   kernel/time/tick-sched.o: warning: objtool: tick_nohz_idle_enter()+0x13f: sibling call from callable instruction with modified stack frame
   kernel/time/tick-sched.o: warning: objtool: tick_setup_sched_timer()+0x227: sibling call from callable instruction with modified stack frame
   kernel/time/tick-sched.o: warning: objtool: tick_check_oneshot_change()+0x8d: sibling call from callable instruction with modified stack frame


vim +995 kernel/time/tick-sched.c

   987	
   988	/**
   989	 * tick_nohz_get_idle_calls_cpu - return the current idle calls counter value
   990	 * for a particular CPU.
   991	 *
   992	 * Called from the schedutil frequency scaling governor in scheduler context.
   993	 */
   994	unsigned long tick_nohz_get_idle_calls_cpu(int cpu)
 > 995	{
   996		struct tick_sched *ts = tick_get_tick_sched(cpu);
   997	
   998		return ts->idle_calls;
   999	}
  1000	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ