tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable head: 64c11a51786ab90e52eec4f6d7ad9a6a78916358 commit: 64c11a51786ab90e52eec4f6d7ad9a6a78916358 [15/15] lib: add Dhrystone benchmark test config: powerpc-buildonly-randconfig-r003-20221217 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 powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=64c11a51786ab90e52eec4f6d7ad9a6a78916358 git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git git fetch --no-tags akpm-mm mm-nonmm-unstable git checkout 64c11a51786ab90e52eec4f6d7ad9a6a78916358 # 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=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc 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