Hi Perry, I love your patch! Perhaps something to improve: [auto build test WARNING on rafael-pm/linux-next] [also build test WARNING on linus/master v6.1-rc7 next-20221129] [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/Perry-Yuan/Implement-AMD-Pstate-EPP-Driver/20221129-011556 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next patch link: https://lore.kernel.org/r/20221128170314.2276636-4-perry.yuan%40amd.com patch subject: [PATCH v5 3/9] cpufreq: amd_pstate: implement Pstate EPP support for the AMD processors config: x86_64-allmodconfig compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/e353f533252a9e07649872be9e9012c4500d9133 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Perry-Yuan/Implement-AMD-Pstate-EPP-Driver/20221129-011556 git checkout e353f533252a9e07649872be9e9012c4500d9133 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/cpufreq/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/cpufreq/amd-pstate.c: In function 'update_boost_state': >> drivers/cpufreq/amd-pstate.c:803:29: warning: variable 'cpudata' set but not used [-Wunused-but-set-variable] 803 | struct amd_cpudata *cpudata; | ^~~~~~~ vim +/cpudata +803 drivers/cpufreq/amd-pstate.c 799 800 static inline void update_boost_state(void) 801 { 802 u64 misc_en; > 803 struct amd_cpudata *cpudata; 804 805 cpudata = all_cpu_data[0]; 806 rdmsrl(MSR_K7_HWCR, misc_en); 807 global_params.cppc_boost_disabled = misc_en & BIT_ULL(25); 808 } 809 -- 0-DAY CI Kernel Test Service https://01.org/lkp