* [atishp04:rocket_kvm_working 20/26] drivers/clocksource/timer-riscv.c:83:6: warning: no previous prototype for function 'riscv_cs_get_mult_shift'
@ 2021-02-02 16:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-02 16:54 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2123 bytes --]
tree: https://github.com/atishp04/linux rocket_kvm_working
head: 854618bbf71bfc11379c39bb0e4ac4784787c473
commit: 2a56cdcb762222ca799786147246d746f61e4872 [20/26] RISC-V: KVM: Add timer functionality
config: riscv-randconfig-r005-20210202 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/atishp04/linux/commit/2a56cdcb762222ca799786147246d746f61e4872
git remote add atishp04 https://github.com/atishp04/linux
git fetch --no-tags atishp04 rocket_kvm_working
git checkout 2a56cdcb762222ca799786147246d746f61e4872
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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:83:6: warning: no previous prototype for function 'riscv_cs_get_mult_shift' [-Wmissing-prototypes]
void riscv_cs_get_mult_shift(u32 *mult, u32 *shift)
^
drivers/clocksource/timer-riscv.c:83:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void riscv_cs_get_mult_shift(u32 *mult, u32 *shift)
^
static
1 warning generated.
vim +/riscv_cs_get_mult_shift +83 drivers/clocksource/timer-riscv.c
82
> 83 void riscv_cs_get_mult_shift(u32 *mult, u32 *shift)
84 {
85 *mult = riscv_clocksource.mult;
86 *shift = riscv_clocksource.shift;
87 }
88 EXPORT_SYMBOL_GPL(riscv_cs_get_mult_shift);
89
---
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: 30117 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-02 16:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 16:54 [atishp04:rocket_kvm_working 20/26] drivers/clocksource/timer-riscv.c:83:6: warning: no previous prototype for function '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.