lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202501031026.w6idmFns-lkp@intel.com>
Date: Fri, 3 Jan 2025 10:43:45 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Amit Kucheria <amit.kucheria@...aro.org>
Subject: drivers/thermal/cpufreq_cooling.c:81: warning: Excess struct member
 'cdev' description in 'cpufreq_cooling_device'

Hi Daniel,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0bc21e701a6ffacfdde7f04f87d664d82e8a13bf
commit: 23affa2e29c5faa8cb59778f71e3bce2c8b3aa5c thermal/drivers/cpu_cooling: Rename to cpufreq_cooling
date:   4 years, 11 months ago
config: arm-randconfig-r006-20230802 (https://download.01.org/0day-ci/archive/20250103/202501031026.w6idmFns-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250103/202501031026.w6idmFns-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501031026.w6idmFns-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/thermal/cpufreq_cooling.c:81: warning: Excess struct member 'cdev' description in 'cpufreq_cooling_device'


vim +81 drivers/thermal/cpufreq_cooling.c

81ee14da1051ee drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  50  
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  51  /**
3b3c07485579b9 drivers/thermal/cpu_cooling.c Eduardo Valentin     2013-04-17  52   * struct cpufreq_cooling_device - data for cooling device with cpufreq
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  53   * @id: unique integer value corresponding to each cpufreq_cooling_device
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  54   *	registered.
d72b4015839cca drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  55   * @last_load: load measured by the latest call to cpufreq_get_requested_power()
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  56   * @cpufreq_state: integer value representing the current state of cpufreq
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  57   *	cooling	devices.
dcc6c7fdef9e70 drivers/thermal/cpu_cooling.c Viresh Kumar         2014-12-04  58   * @max_level: maximum cooling level. One less than total number of valid
dcc6c7fdef9e70 drivers/thermal/cpu_cooling.c Viresh Kumar         2014-12-04  59   *	cpufreq frequencies.
a4e893e802e6a8 drivers/thermal/cpu_cooling.c Quentin Perret       2019-10-30  60   * @em: Reference on the Energy Model of the device
d72b4015839cca drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  61   * @cdev: thermal_cooling_device pointer to keep track of the
d72b4015839cca drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  62   *	registered cooling device.
d72b4015839cca drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  63   * @policy: cpufreq policy.
fc4de356e033a4 drivers/thermal/cpu_cooling.c Javi Merino          2014-12-15  64   * @node: list_head to link all cpufreq_cooling_device together.
81ee14da1051ee drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  65   * @idle_time: idle time stats
7b4e7f07a2c6da drivers/thermal/cpu_cooling.c Amit Kucheria        2019-11-20  66   * @qos_req: PM QoS contraint to apply
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  67   *
beca6053fc21bb drivers/thermal/cpu_cooling.c Viresh Kumar         2014-12-04  68   * This structure is required for keeping information of each registered
beca6053fc21bb drivers/thermal/cpu_cooling.c Viresh Kumar         2014-12-04  69   * cpufreq_cooling_device.
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  70   */
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  71  struct cpufreq_cooling_device {
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  72  	int id;
d72b4015839cca drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  73  	u32 last_load;
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  74  	unsigned int cpufreq_state;
dcc6c7fdef9e70 drivers/thermal/cpu_cooling.c Viresh Kumar         2014-12-04  75  	unsigned int max_level;
a4e893e802e6a8 drivers/thermal/cpu_cooling.c Quentin Perret       2019-10-30  76  	struct em_perf_domain *em;
d72b4015839cca drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  77  	struct cpufreq_policy *policy;
2dcd851fe4b4fe drivers/thermal/cpu_cooling.c Yadwinder Singh Brar 2014-11-07  78  	struct list_head node;
81ee14da1051ee drivers/thermal/cpu_cooling.c Viresh Kumar         2017-04-25  79  	struct time_in_idle *idle_time;
3000ce3c52f8b8 drivers/thermal/cpu_cooling.c Rafael J. Wysocki    2019-10-16  80  	struct freq_qos_request qos_req;
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16 @81  };
023614183768a7 drivers/thermal/cpu_cooling.c Amit Daniel Kachhap  2012-08-16  82  

:::::: The code at line 81 was first introduced by commit
:::::: 023614183768a7ac62898bded5ec6c0c9fecbdd9 thermal: add generic cpufreq cooling implementation

:::::: TO: Amit Daniel Kachhap <amit.kachhap@...aro.org>
:::::: CC: Zhang Rui <rui.zhang@...el.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ