Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	0day robot <lkp@intel.com>
Subject: drivers/cpufreq/intel_pstate.c:2945:11: error: no member named 'update_limits' in 'struct cpufreq_policy_data'
Date: Tue, 26 May 2026 12:56:20 +0200	[thread overview]
Message-ID: <202605261237.PUsriOv4-lkp@intel.com> (raw)

tree:   https://github.com/intel-lab-lkp/linux/commits/Viresh-Kumar/cpufreq-Avoid-redundant-target-calls-for-unchanged-limits/20260521-194713
head:   6721940d0119159636e6b2da0c43eb5cff826857
commit: 74b0d552acf45e33ce12c19ee815e52029b0b0a8 cpufreq: Avoid redundant target() calls for unchanged limits
date:   5 days ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260526/202605261237.PUsriOv4-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260526/202605261237.PUsriOv4-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605261237.PUsriOv4-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/cpufreq/intel_pstate.c:2945:11: error: no member named 'update_limits' in 'struct cpufreq_policy_data'
    2945 |                 policy->update_limits = true;
         |                 ~~~~~~  ^
   1 error generated.


vim +2945 drivers/cpufreq/intel_pstate.c

  2935	
  2936	static void intel_pstate_adjust_policy_max(struct cpudata *cpu,
  2937						   struct cpufreq_policy_data *policy)
  2938	{
  2939		if (!hwp_active &&
  2940		    cpu->pstate.max_pstate_physical > cpu->pstate.max_pstate &&
  2941		    policy->max < policy->cpuinfo.max_freq &&
  2942		    policy->max > cpu->pstate.max_freq) {
  2943			pr_debug("policy->max > max non turbo frequency\n");
  2944			policy->max = policy->cpuinfo.max_freq;
> 2945			policy->update_limits = true;
  2946		}
  2947	}
  2948	

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

             reply	other threads:[~2026-05-26 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-26 10:56 kernel test robot [this message]
2026-05-27  3:42 ` drivers/cpufreq/intel_pstate.c:2945:11: error: no member named 'update_limits' in 'struct cpufreq_policy_data' Viresh Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202605261237.PUsriOv4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox