Hi JianMin, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-kiwi-5.10 head: edf4da79d443f97049926ace891b5d6d235f7539 commit: 1efc36b815769cb8c7dae1d53373b190c017f5d1 [4832/9999] ANDROID: sched: add a helper function to change PELT half-life config: i386-randconfig-a003 compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/1efc36b815769cb8c7dae1d53373b190c017f5d1 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-kiwi-5.10 git checkout 1efc36b815769cb8c7dae1d53373b190c017f5d1 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/dma-buf/ kernel/sched/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/sched/pelt.c:35:5: warning: no previous prototype for 'get_pelt_halflife' [-Wmissing-prototypes] 35 | int get_pelt_halflife(void) | ^~~~~~~~~~~~~~~~~ >> kernel/sched/pelt.c:68:5: warning: no previous prototype for 'set_pelt_halflife' [-Wmissing-prototypes] 68 | int set_pelt_halflife(int num) | ^~~~~~~~~~~~~~~~~ vim +/get_pelt_halflife +35 kernel/sched/pelt.c 34 > 35 int get_pelt_halflife(void) 36 { 37 return pelt_load_avg_period; 38 } 39 EXPORT_SYMBOL_GPL(get_pelt_halflife); 40 41 static int __set_pelt_halflife(void *data) 42 { 43 int rc = 0; 44 int num = *(int *)data; 45 46 switch (num) { 47 case PELT8_LOAD_AVG_PERIOD: 48 pelt_load_avg_period = PELT8_LOAD_AVG_PERIOD; 49 pelt_load_avg_max = PELT8_LOAD_AVG_MAX; 50 pelt_runnable_avg_yN_inv = pelt8_runnable_avg_yN_inv; 51 pr_info("PELT half life is set to %dms\n", num); 52 break; 53 case PELT32_LOAD_AVG_PERIOD: 54 pelt_load_avg_period = PELT32_LOAD_AVG_PERIOD; 55 pelt_load_avg_max = PELT32_LOAD_AVG_MAX; 56 pelt_runnable_avg_yN_inv = pelt32_runnable_avg_yN_inv; 57 pr_info("PELT half life is set to %dms\n", num); 58 break; 59 default: 60 rc = -EINVAL; 61 pr_err("Failed to set PELT half life to %dms, the current value is %dms\n", 62 num, pelt_load_avg_period); 63 } 64 65 return rc; 66 } 67 > 68 int set_pelt_halflife(int num) 69 { 70 return stop_machine(__set_pelt_halflife, &num, NULL); 71 } 72 EXPORT_SYMBOL_GPL(set_pelt_halflife); 73 -- 0-DAY CI Kernel Test Service https://01.org/lkp