From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B96E01474D3 for ; Fri, 3 Jan 2025 02:43:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735872235; cv=none; b=U434rK/r2B4zKZdjhAMLzBKsCMezQ9la9/BTz+FNzv6clcdW0tulq9S6fycsE+zEA1dkEsVHOm8Czgfce9XUzaXcVN3n5dI/KN+e+hj4N0YWvQ0TVZzf/FkzHBNeklfU4AkTL+OJ7WA01kv/W8Fajzy0Rke2MH9x7co4PYwhsfU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735872235; c=relaxed/simple; bh=zEBl/yUc+VJbvW3sR3q1GiCeqgmWxI5TR/lkifqVe+o=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=uTglI5X2Orm7/Toqp6+rCfA8wG+kNTz2A9/AoPCCbeFp7JDC8IEhqrjRNQqsviKFPMfJd97mL2Mm4P0Rl/i49QV7zQPwtd0Qij7SOe0r6m3IolM1FlOi8T1bzOct99C1tDo0qK7gRaZ5hWjbjPMTIzN3zXa50Yq44kNKLeniRIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=e5g4YCiG; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="e5g4YCiG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1735872234; x=1767408234; h=date:from:to:cc:subject:message-id:mime-version; bh=zEBl/yUc+VJbvW3sR3q1GiCeqgmWxI5TR/lkifqVe+o=; b=e5g4YCiGaNA8d4AWAkOBapv2UdUKj3odVsbt3pl2ZzDSJdPY2BtntmHF uFZv/YzKW6tF+beOk5ThdM30oTlLR1J6p1JQFZ6OO1qq8wHp13Sa2mPxl Li6mscfTTxAFMWYwhvqr1HhJMmfQVtdBJzi2U/+slEtNkuH1tDhqAijnb 6RkSgJSOpeaphZ1Eg7R4sjaq1IaOt7LRSsXb0Rp2zIsWDy5QDaZVc+lU+ cGe0XJ7Hp+nZuL07DW/K1ex0YJuEqGWozXQbwP1d5I+HQH9KPyZ3MiyG7 NB0/4Cv2CYoZc/9LjuEXMZnqqV3opPLMGiOs/dmOfflScVEVThZPRNcia g==; X-CSE-ConnectionGUID: jlQlYhunTrWEXPRDVLcCEA== X-CSE-MsgGUID: p1zacR36S7ymxnpsRISsrA== X-IronPort-AV: E=McAfee;i="6700,10204,11303"; a="53663499" X-IronPort-AV: E=Sophos;i="6.12,286,1728975600"; d="scan'208";a="53663499" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2025 18:43:53 -0800 X-CSE-ConnectionGUID: p5ECt+xpSuaePIT3xl7tTg== X-CSE-MsgGUID: jsjh/DEZQausPzwrV3WLIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="106302373" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 02 Jan 2025 18:43:51 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tTXfB-00096Z-2O; Fri, 03 Jan 2025 02:43:49 +0000 Date: Fri, 3 Jan 2025 10:43:45 +0800 From: kernel test robot To: Daniel Lezcano Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Amit Kucheria Subject: drivers/thermal/cpufreq_cooling.c:81: warning: Excess struct member 'cdev' description in 'cpufreq_cooling_device' Message-ID: <202501031026.w6idmFns-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 | 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 :::::: CC: Zhang Rui -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki