* Re: [PATCH 3/4] RISC-V: export the ISA string of the running machine in the aux vector
[not found] <20230424194911.264850-4-heiko.stuebner@vrull.eu>
@ 2023-04-25 8:13 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-25 8:13 UTC (permalink / raw)
To: Heiko Stuebner, palmer, linux-riscv, paul.walmsley
Cc: llvm, oe-kbuild-all, heiko, kito.cheng, jrtc27, conor.dooley,
matthias.bgg, heinrich.schuchardt, greentime.hu, nick.knight,
christoph.muellner, philipp.tomsich, richard.henderson, arnd,
linux-kernel, Heiko Stuebner
Hi Heiko,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20230424]
[also build test WARNING on v6.3]
[cannot apply to soc/for-next linus/master kees/for-next/execve v6.3 v6.3-rc7 v6.3-rc6]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Heiko-Stuebner/RISC-V-create-ISA-string-separately-not-as-part-of-cpuinfo/20230425-035214
base: next-20230424
patch link: https://lore.kernel.org/r/20230424194911.264850-4-heiko.stuebner%40vrull.eu
patch subject: [PATCH 3/4] RISC-V: export the ISA string of the running machine in the aux vector
config: riscv-randconfig-r042-20230423 (https://download.01.org/0day-ci/archive/20230425/202304251544.rajXe0ut-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 437b7602e4a998220871de78afcb020b9c14a661)
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/intel-lab-lkp/linux/commit/3f82c51fa0f92c257313a0291c7a36cbdfdc5bb1
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Heiko-Stuebner/RISC-V-create-ISA-string-separately-not-as-part-of-cpuinfo/20230425-035214
git checkout 3f82c51fa0f92c257313a0291c7a36cbdfdc5bb1
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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>
| Link: https://lore.kernel.org/oe-kbuild-all/202304251544.rajXe0ut-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/riscv/kernel/cpu.c:122:14: warning: function 'riscv_create_isa_string' has internal linkage but is not defined [-Wundefined-internal]
static char *riscv_create_isa_string(void);
^
arch/riscv/kernel/cpu.c:140:12: note: used here
isa_str = riscv_create_isa_string();
^
1 warning generated.
vim +/riscv_create_isa_string +122 arch/riscv/kernel/cpu.c
120
121 const char *riscv_base_platform = NULL;
> 122 static char *riscv_create_isa_string(void);
123
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-25 8:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230424194911.264850-4-heiko.stuebner@vrull.eu>
2023-04-25 8:13 ` [PATCH 3/4] RISC-V: export the ISA string of the running machine in the aux vector kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).