All of lore.kernel.org
 help / color / mirror / Atom feed
* [avpatel:riscv_kvm_v13 15/21] drivers/clocksource/timer-riscv.c:96:6: warning: no previous prototype for 'riscv_cs_get_mult_shift'
@ 2020-07-06 17:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-06 17:35 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/avpatel/linux.git riscv_kvm_v13
head:   c2627d30cf02b86410b516f57e111b9a0299015e
commit: 1130db1ab74566ee73f90c21042a2082f21c4d39 [15/21] RISC-V: KVM: Add timer functionality
config: riscv-allnoconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 1130db1ab74566ee73f90c21042a2082f21c4d39
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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

All warnings (new ones prefixed by >>):

>> drivers/clocksource/timer-riscv.c:96:6: warning: no previous prototype for 'riscv_cs_get_mult_shift' [-Wmissing-prototypes]
      96 | void riscv_cs_get_mult_shift(u32 *mult, u32 *shift)
         |      ^~~~~~~~~~~~~~~~~~~~~~~

vim +/riscv_cs_get_mult_shift +96 drivers/clocksource/timer-riscv.c

    95	
  > 96	void riscv_cs_get_mult_shift(u32 *mult, u32 *shift)
    97	{
    98		*mult = riscv_clocksource.mult;
    99		*shift = riscv_clocksource.shift;
   100	}
   101	EXPORT_SYMBOL_GPL(riscv_cs_get_mult_shift);
   102	

---
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: 5363 bytes --]

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

only message in thread, other threads:[~2020-07-06 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 17:35 [avpatel:riscv_kvm_v13 15/21] drivers/clocksource/timer-riscv.c:96:6: warning: no previous prototype for 'riscv_cs_get_mult_shift' 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.