Re: [PATCH] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq

From: kernel test robot

Date: Sun Oct 25 2026 - 04:30:54 EST


Hi Qais,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tip/sched/core]
[also build test WARNING on tip/master peterz-queue/sched/core linus/master v7.3 next-20261023]
[cannot apply to tip/auto-latest]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Qais-Yousef/sched-uclamp-Fix-race-condition-leading-to-imbalanced-uclamp_rq/20261025-003945
base: tip/sched/core
patch link: https://lore.kernel.org/r/20261024233945.74794-1-qyousef%40layalina.io
patch subject: [PATCH] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq
config: arc-allnoconfig (https://download.01.org/0day-ci/archive/20261025/202610251831.6qMLJiPR-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261025/202610251831.6qMLJiPR-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610251831.6qMLJiPR-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from kernel/sched/rq-offsets.c:5:
>> kernel/sched/sched.h:3833:6: warning: no previous prototype for 'init_uclamp_rq' [-Wmissing-prototypes]
3833 | void init_uclamp_rq(struct rq *rq) {}
| ^~~~~~~~~~~~~~
--
In file included from kernel/sched/rq-offsets.c:5:
>> kernel/sched/sched.h:3833:6: warning: no previous prototype for 'init_uclamp_rq' [-Wmissing-prototypes]
3833 | void init_uclamp_rq(struct rq *rq) {}
| ^~~~~~~~~~~~~~


vim +/init_uclamp_rq +3833 kernel/sched/sched.h

3832
> 3833 void init_uclamp_rq(struct rq *rq) {}
3834

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