Re: [PATCH v2 1/3] cpufreq: Export acpu_cpufreq_exit for other drivers to call

From: kernel test robot
Date: Tue Mar 29 2022 - 02:23:05 EST


Hi Mario,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on rafael-pm/linux-next]
[also build test WARNING on v5.17 next-20220329]
[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]

url: https://github.com/intel-lab-lkp/linux/commits/Mario-Limonciello/Improve-usability-for-amd-pstate/20220329-100211
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220329/202203291412.G3zBxLNx-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/86835efc7d91d9fc921d7d425b1fdab9c13feafb
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Mario-Limonciello/Improve-usability-for-amd-pstate/20220329-100211
git checkout 86835efc7d91d9fc921d7d425b1fdab9c13feafb
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/cpufreq/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/cpufreq/acpi-cpufreq.c:1036:13: warning: no previous prototype for 'acpi_cpufreq_exit' [-Wmissing-prototypes]
1036 | void __exit acpi_cpufreq_exit(void)
| ^~~~~~~~~~~~~~~~~


vim +/acpi_cpufreq_exit +1036 drivers/cpufreq/acpi-cpufreq.c

1035
> 1036 void __exit acpi_cpufreq_exit(void)
1037 {
1038 pr_debug("%s\n", __func__);
1039
1040 acpi_cpufreq_boost_exit();
1041
1042 cpufreq_unregister_driver(&acpi_cpufreq_driver);
1043
1044 free_acpi_perf_data();
1045 }
1046 EXPORT_SYMBOL_GPL(acpi_cpufreq_exit);
1047

--
0-DAY CI Kernel Test Service
https://01.org/lkp