tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: d650871875b2ccc670f1044be7f3cc90f276745d commit: fb6bda44a1f0a2d18a265da62624802f5d300bd7 [15348/15487] lib: add Dhrystone benchmark test config: riscv-randconfig-r024-20221219 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 98b13979fb05f3ed288a900deb843e7b27589e58) 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-riscv-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fb6bda44a1f0a2d18a265da62624802f5d300bd7 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout fb6bda44a1f0a2d18a265da62624802f5d300bd7 # 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 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> lib/dhry_run.c:61:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (val) { ^~~ lib/dhry_run.c:72:9: note: uninitialized use occurs here return ret; ^~~ lib/dhry_run.c:61:2: note: remove the 'if' if its condition is always true if (val) { ^~~~~~~~~ lib/dhry_run.c:59:9: note: initialize the variable 'ret' to silence this warning int ret; ^ = 0 1 warning generated. vim +61 lib/dhry_run.c 56 57 static int dhry_run_set(const char *val, const struct kernel_param *kp) 58 { 59 int ret; 60 > 61 if (val) { 62 ret = param_set_bool(val, kp); 63 if (ret) 64 return ret; 65 } else { 66 dhry_run = true; 67 } 68 69 if (dhry_run && system_state == SYSTEM_RUNNING) 70 dhry_benchmark(); 71 72 return ret; 73 } 74 -- 0-DAY CI Kernel Test Service https://01.org/lkp