All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Qais Yousef <qyousef@layalina.io>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [qais-yousef:uclamp-max-aggregation 9/13] drivers/cpufreq/intel_pstate.c:2250:1: error: expected expression before '}' token
Date: Mon, 1 Jan 2024 16:21:47 +0800	[thread overview]
Message-ID: <202401011640.jDXlOSOT-lkp@intel.com> (raw)

tree:   https://github.com/qais-yousef/linux uclamp-max-aggregation
head:   a1540fef55aeb1d872b6ecdc983a73b1be14e2f3
commit: 4baf9e0d1d48fa7e06937741dfd72635c3db5dfb [9/13] sched: Make iowait boost per task
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20240101/202401011640.jDXlOSOT-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240101/202401011640.jDXlOSOT-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/202401011640.jDXlOSOT-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/cpufreq/intel_pstate.c: In function 'intel_pstate_adjust_pstate':
>> drivers/cpufreq/intel_pstate.c:2250:1: error: expected expression before '}' token
    2250 | }
         | ^
>> drivers/cpufreq/intel_pstate.c:2249:40: error: expected ';' before '}' token
    2249 |                 get_avg_frequency(cpu),
         |                                        ^
         |                                        ;
    2250 | }
         | ~                                       
   drivers/cpufreq/intel_pstate.c: In function 'intel_cpufreq_trace':
   drivers/cpufreq/intel_pstate.c:2758:1: error: expected expression before '}' token
    2758 | }
         | ^
   drivers/cpufreq/intel_pstate.c:2757:40: error: expected ';' before '}' token
    2757 |                 get_avg_frequency(cpu),
         |                                        ^
         |                                        ;
    2758 | }
         | ~                                       


vim +2250 drivers/cpufreq/intel_pstate.c

fdfdb2b1301670 Rafael J. Wysocki   2016-03-18  2227  
a891283e563625 Rafael J. Wysocki   2017-08-10  2228  static void intel_pstate_adjust_pstate(struct cpudata *cpu)
93f0822dff5dae Dirk Brandewie      2013-02-06  2229  {
67dd9bf4416305 Rafael J. Wysocki   2017-03-28  2230  	int from = cpu->pstate.current_pstate;
4055fad34086dc Doug Smythies       2015-04-11  2231  	struct sample *sample;
a891283e563625 Rafael J. Wysocki   2017-08-10  2232  	int target_pstate;
4055fad34086dc Doug Smythies       2015-04-11  2233  
001c76f05b01cc Rafael J. Wysocki   2016-11-17  2234  	update_turbo_state();
001c76f05b01cc Rafael J. Wysocki   2016-11-17  2235  
d77d4888cb8458 Rafael J. Wysocki   2017-08-10  2236  	target_pstate = get_target_pstate(cpu);
6407829901f074 Rafael J. Wysocki   2017-03-03  2237  	target_pstate = intel_pstate_prepare_request(cpu, target_pstate);
6407829901f074 Rafael J. Wysocki   2017-03-03  2238  	trace_cpu_frequency(target_pstate * cpu->pstate.scaling, cpu->cpu);
fdfdb2b1301670 Rafael J. Wysocki   2016-03-18  2239  	intel_pstate_update_pstate(cpu, target_pstate);
4055fad34086dc Doug Smythies       2015-04-11  2240  
4055fad34086dc Doug Smythies       2015-04-11  2241  	sample = &cpu->sample;
a1c9787dc38097 Rafael J. Wysocki   2016-05-11  2242  	trace_pstate_sample(mul_ext_fp(100, sample->core_avg_perf),
157386b6fc1465 Philippe Longepe    2015-12-04  2243  		fp_toint(sample->busy_scaled),
4055fad34086dc Doug Smythies       2015-04-11  2244  		from,
4055fad34086dc Doug Smythies       2015-04-11  2245  		cpu->pstate.current_pstate,
4055fad34086dc Doug Smythies       2015-04-11  2246  		sample->mperf,
4055fad34086dc Doug Smythies       2015-04-11  2247  		sample->aperf,
4055fad34086dc Doug Smythies       2015-04-11  2248  		sample->tsc,
3ba7bcaa3657f5 Srinivas Pandruvada 2016-09-13 @2249  		get_avg_frequency(cpu),
93f0822dff5dae Dirk Brandewie      2013-02-06 @2250  }
93f0822dff5dae Dirk Brandewie      2013-02-06  2251  

:::::: The code at line 2250 was first introduced by commit
:::::: 93f0822dff5dae2f0a2645f16300c14af41ca777 cpufreq/x86: Add P-state driver for sandy bridge.

:::::: TO: Dirk Brandewie <dirk.brandewie@gmail.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

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

                 reply	other threads:[~2024-01-01  8:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202401011640.jDXlOSOT-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=qyousef@layalina.io \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.