[rafael-pm:bleeding-edge 183/186] 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/202404271148.HK9yHBlB-lkp@xxxxxxxxx/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/202404271148.HK9yHBlB-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404271148.HK9yHBlB-lkp@xxxxxxxxx/

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	

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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux