tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: dc837c1a5137a8cf2e9432c1891392b6a66f4d8d commit: 0c3c99364361171f8cfeb8b66b1e6f4709919dc3 [13683/14548] drm/amdgpu: added a sysfs interface for thermal throttling config: mips-randconfig-r035-20230306 (https://download.01.org/0day-ci/archive/20230306/202303061725.Wv3p5RDB-lkp@xxxxxxxxx/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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 mips cross compiling tool for clang build # apt-get install binutils-mips64el-linux-gnuabi64 # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0c3c99364361171f8cfeb8b66b1e6f4709919dc3 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 0c3c99364361171f8cfeb8b66b1e6f4709919dc3 # 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=mips olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/drm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202303061725.Wv3p5RDB-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:1600:5: warning: no previous prototype for function 'vangogh_set_apu_thermal_limit' [-Wmissing-prototypes] int vangogh_set_apu_thermal_limit(struct smu_context *smu, uint32_t limit) ^ drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:1600:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int vangogh_set_apu_thermal_limit(struct smu_context *smu, uint32_t limit) ^ static 1 warning generated. vim +/vangogh_set_apu_thermal_limit +1600 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c 1599 > 1600 int vangogh_set_apu_thermal_limit(struct smu_context *smu, uint32_t limit) 1601 { 1602 return smu_cmn_send_smc_msg_with_param(smu, 1603 SMU_MSG_SetReducedThermalLimit, 1604 limit, NULL); 1605 } 1606 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests