From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 5F98B1F429A for ; Tue, 21 Jan 2025 16:20:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737476419; cv=none; b=G4mBUiJ77oAaOnUFFSeYaY49pPCVttFvxW6MMjAJdfXHZrrNHlsZ1Me4NZg5W8hYke1z3OXOcRmUKDZ4CG6wijzxJhP/rifc1b0vstgQ0X9NITW8kRcTIi5REG4+0Sv1jvrOxGiQ0iStYhPL8BjOUMyEuDX2EDSPzHFjsdvPiAo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737476419; c=relaxed/simple; bh=e6GaFun8LgxgDqfsRGFXYOFbWAMAWygU6WXXz/m2AOQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=LVWXXYRjVj6DPjVDrXjsG8dSPLHCsIw6zulOA8kLNa50nRyVCqMvYNQ2S8lu9unTt6WG56STaA+7Q+bWjgWoM/BJ+pUgtPCUmvOZ0xXVmEPHGCPR8/t/aUDtW2MNb6Kc1R9+fBE/vhdkMMBmvgmAhxScosiGfJ8/qzjKuyfZGcs= 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=mdqv5f6d; arc=none smtp.client-ip=198.175.65.21 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="mdqv5f6d" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1737476417; x=1769012417; h=date:from:to:cc:subject:message-id:mime-version; bh=e6GaFun8LgxgDqfsRGFXYOFbWAMAWygU6WXXz/m2AOQ=; b=mdqv5f6dLmcxf3JDRsYtpGKjF+MrV8KOLhr9Caj38kYXhAHsmeYBWMhN 8ocEbF48R8MDeAbt66IOnhSwmiiMLdq16wnjWyodtlZ423wKHe22r1X6B 00USlQMFXDK8fFZ1RcB4ps1V/WuLtKZVB16tbrJB21PttXDR/U8Q3cHIm rYpcsQBlTAsHrJMNHiFDCDpXWQ3GodjtZ3Mp4mYoYD+jYnYuL7yD+c6CO idzOy/CGWULS6H4ofGRdHLWj7dCmLJstCQ40iEewP6VAaHG5fF7LNHJFw QyagEJkC7V/G/UP2EXVxjNopCby6al7OfsHvalgtAfymMKYlNiALngewU A==; X-CSE-ConnectionGUID: b9JrCmwJThyDTCXt5YYMbg== X-CSE-MsgGUID: 1VmkRf8PQvmT/FfKlEqWmA== X-IronPort-AV: E=McAfee;i="6700,10204,11322"; a="37778692" X-IronPort-AV: E=Sophos;i="6.13,222,1732608000"; d="scan'208";a="37778692" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2025 08:20:07 -0800 X-CSE-ConnectionGUID: wAtihhmERra14zkEcA9gzA== X-CSE-MsgGUID: s/UWIml4SlK5q0Pln/r09A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,222,1732608000"; d="scan'208";a="111850251" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 21 Jan 2025 08:20:07 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1taGyx-000YHY-3B; Tue, 21 Jan 2025 16:20:03 +0000 Date: Wed, 22 Jan 2025 00:19:46 +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: <202501220046.h3PMBCti-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: 95ec54a420b8f445e04a7ca0ea8deb72c51fe1d3 commit: 23affa2e29c5faa8cb59778f71e3bce2c8b3aa5c thermal/drivers/cpu_cooling: Rename to cpufreq_cooling date: 5 years ago config: arm-randconfig-r006-20230802 (https://download.01.org/0day-ci/archive/20250122/202501220046.h3PMBCti-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/20250122/202501220046.h3PMBCti-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/202501220046.h3PMBCti-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