lkml.org 
[lkml]   [2022]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[avpatel:virtio_rpmsg_bus_fix_v1 35/52] arch/riscv/kernel/setup.c:299:9: error: implicit declaration of function 'riscv_tlbflush_init'
tree:   https://github.com/avpatel/linux.git virtio_rpmsg_bus_fix_v1
head: 390aaf641ff2f8919268d611e864227265c3f3f2
commit: efaaec7bcbaf3346e07955be46d5e3c2bd662167 [35/52] riscv: mm: use svinval instructions instead of sfence.vma
config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20220611/202206110936.Fxp1OH6s-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 11.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
# https://github.com/avpatel/linux/commit/efaaec7bcbaf3346e07955be46d5e3c2bd662167
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel virtio_rpmsg_bus_fix_v1
git checkout efaaec7bcbaf3346e07955be46d5e3c2bd662167
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/

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

All errors (new ones prefixed by >>):

arch/riscv/kernel/setup.c: In function 'setup_arch':
>> arch/riscv/kernel/setup.c:299:9: error: implicit declaration of function 'riscv_tlbflush_init' [-Werror=implicit-function-declaration]
299 | riscv_tlbflush_init();
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors


vim +/riscv_tlbflush_init +299 arch/riscv/kernel/setup.c

297
298 riscv_fill_hwcap();
> 299 riscv_tlbflush_init();
300 apply_boot_alternatives();
301 }
302

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-06-11 03:18    [W:0.028 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site