Skip to contentSkip to conversation

drivers/cpufreq/amd-pstate.c:760: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

PATCH kernel test robot 1 participant 1 message Apr 27, 2024

Subsystems (2)
lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   d9e98e7641ce1ef34d0c33dae1f27611bd1cbcf9
commit: 069a2bb8c48c43176f2f0e6cae5efe2f39f6bdf2 [183/186] cpufreq: amd-pstate: get transition delay and latency value from ACPI tables
config: i386-buildonly-randconfig-002-20240427 (https://download.01.org/0day-ci/archive/20240427/[email protected]/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240427/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/cpufreq/amd-pstate.c:760: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

* Get pstate transition delay time from ACPI tables that firmware set
drivers/cpufreq/amd-pstate.c:775: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Get pstate transition latency value from ACPI tables that firmware
drivers/cpufreq/amd-pstate.c:801: warning: Function parameter or struct member 'cpudata' not described in 'amd_pstate_init_freq'

vim +760 drivers/cpufreq/amd-pstate.c

758
759 /**

 > 760	 * Get pstate transition delay time from ACPI tables that firmware set

761 * instead of using hardcode value directly.
762 */
763 static u32 amd_pstate_get_transition_delay_us(unsigned int cpu)
764 {
765 u32 transition_delay_ns;
766
767 transition_delay_ns = cppc_get_transition_latency(cpu);
768 if (transition_delay_ns == CPUFREQ_ETERNAL)
769 return AMD_PSTATE_TRANSITION_DELAY;
770
771 return transition_delay_ns / NSEC_PER_USEC;
772 }
773

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki